Apache

# WinNT MPM
# ThreadsPerChild: constant number of worker threads in the server process
# MaxRequestsPerChild: maximum  number of requests a server process serves
<IfModule mpm_winnt.c>
ThreadsPerChild 250
MaxRequestsPerChild  0
</IfModule>


My question is. Would you find this directive in config files on non-Windows servers or was this added because we installed Apache on Windows machines?

I also want to know if we include the MaxRequestsPerChild directive outside the tag does one override the other?
sendhelpAsked:
Who is Participating?
 
ClickCentricConnect With a Mentor Commented:
Both ThreadsPerChild and MaxRequestsPerChild are not limited to the Windows version of Apache...they appear in several sections of a typical apache httpd.conf on Linux as well.   As for using it outside of the IfModule tag, if it doesn't generate an error, it still wouldn't override those values for that section.  More than one section can use those options.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.