]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Document the MaxRequestsPerChild values wrt
authorJim Jagielski <jim@apache.org>
Tue, 20 Apr 1999 22:19:15 +0000 (22:19 +0000)
committerJim Jagielski <jim@apache.org>
Tue, 20 Apr 1999 22:19:15 +0000 (22:19 +0000)
KeepAlives and how to tune it

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@83078 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/misc/perf-tuning.html
docs/manual/mod/core.html

index 956a7febbc590c71b9b5a8b5e5a47dee4a7c579a..46995c9eccd84108b759b733df55fcf76641eb88 100644 (file)
@@ -209,12 +209,12 @@ consider tuning these settings.  Use the <CODE>mod_status</CODE> output
 as a guide.
 
 <P>Related to process creation is process death induced by the
-<CODE>MaxRequestsPerChild</CODE> setting.  By default this is 30, which
-is probably far too low unless your server is using a module such as
-<CODE>mod_perl</CODE> 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.
+<CODE>MaxRequestsPerChild</CODE> 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.
 
 <P>When keep-alives are in use, children will be kept busy
 doing nothing waiting for more requests on the already open
index 34039be523c826a18c227cb3550d39a37eb71ed7..899eadd8009a0adeaf91293696b4197785b33046 100644 (file)
@@ -1998,6 +1998,10 @@ number of processes when the server load reduces.
 
 <P>This directive has no effect on Win32.
 
+<P><STRONG>NOTE:</STRONG> For <EM>KeepAlive</EM> requests, only the first
+request is counted towards this limit. In effect, it changes the
+behavior to limit the number of <EM>connections</EM> per child.
+
 <P><HR>
 
 <H2><A NAME="maxspareservers">MaxSpareServers directive</A></H2>