logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: Settings for Windows ThreadsPerChild
Author
matrixebiz



Joined: 27 Sep 2017
Posts: 26

PostPosted: Mon 02 Oct '17 1:30    Post subject: Settings for Windows ThreadsPerChild Reply with quote

Hello, with a webserver that will be having 1000+ hits an hour grabbing many 4MB files so I was wondering what settings should I use of the below;

should I turn on or off KeepAlive


should I increase ThreadsPerChild to 1000
<IfModule mpm_winnt_module>
ThreadsPerChild 150
MaxConnectionsPerChild 0
</IfModule>
Back to top
Steffen
Moderator


Joined: 15 Oct 2005
Posts: 3092
Location: Hilversum, NL, EU

PostPosted: Sat 07 Oct '17 13:20    Post subject: Reply with quote

Keep an eye on the Apache error.log , when it is running out of threads you get a message like: Server ran out of threads to serve requests. Consider raising the ThreadsPerChild setting.

Leave the KeepAlive on.
Back to top


Reply to topic   Topic: Settings for Windows ThreadsPerChild View previous topic :: View next topic
Post new topic   Forum Index -> Apache