From: Jim Jagielski Date: Tue, 20 Apr 1999 22:19:15 +0000 (+0000) Subject: Document the MaxRequestsPerChild values wrt X-Git-Tag: apache-apr-merge-3~24 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a4387425e7e31ab880f8abf034eeea97fc936275;p=thirdparty%2Fapache%2Fhttpd.git Document the MaxRequestsPerChild values wrt KeepAlives and how to tune it git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@83078 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/misc/perf-tuning.html b/docs/manual/misc/perf-tuning.html index 956a7febbc5..46995c9eccd 100644 --- a/docs/manual/misc/perf-tuning.html +++ b/docs/manual/misc/perf-tuning.html @@ -209,12 +209,12 @@ consider tuning these settings. Use the mod_status output as a guide.

Related to process creation is process death induced by the -MaxRequestsPerChild setting. By default this is 30, which -is probably far too low unless your server is using a module such as -mod_perl which causes children to have bloated memory -images. If your server is serving mostly static pages then consider -raising this value to something like 10000. The code is robust enough -that this shouldn't be a problem. +MaxRequestsPerChild setting. By default this is 0, which +means that there is no limit to the number of requests handled +per child. If your configuration currently has this set to some +very low number, such as 30, you may want to bump this up significantly. +If you are running SunOS or an old version of Solaris, limit this +to 10000 or so because of memory leaks.

When keep-alives are in use, children will be kept busy doing nothing waiting for more requests on the already open diff --git a/docs/manual/mod/core.html b/docs/manual/mod/core.html index 34039be523c..899eadd8009 100644 --- a/docs/manual/mod/core.html +++ b/docs/manual/mod/core.html @@ -1998,6 +1998,10 @@ number of processes when the server load reduces.

This directive has no effect on Win32. +

NOTE: For KeepAlive requests, only the first +request is counted towards this limit. In effect, it changes the +behavior to limit the number of connections per child. +


MaxSpareServers directive