httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aaron Bannert <>
Subject [PATCH] update to default worker MPM config to match MaxClients fix
Date Thu, 20 Sep 2001 16:51:46 GMT
Here's the config update I promised. As I mentioned earlier, this
should bring the behavior of the worker MPM in line with prefork
and the common definitions of these directives.

These defaults are of course not set in stone. If anyone has a better
idea how to get the best results from some default worker MPM params,
feel free to update this -- I'm mostly interested in changing the comment
and the default MaxClients value.


Index: docs/conf/httpd-std.conf
RCS file: /home/cvspublic/httpd-2.0/docs/conf/httpd-std.conf,v
retrieving revision 1.49
diff -u -r1.49 httpd-std.conf
--- docs/conf/httpd-std.conf	2001/09/16 19:15:59	1.49
+++ docs/conf/httpd-std.conf	2001/09/20 16:39:37
@@ -132,15 +132,15 @@
 # worker MPM
 # StartServers: initial number of server processes to start
-# MaxClients: maximum number of server processes allowed to start
+# MaxClients: maximum number of simultaneous client connections
 # MinSpareThreads: minimum number of worker threads which are kept spare
 # MaxSpareThreads: maximum number of worker threads which are kept spare
 # ThreadsPerChild: constant number of worker threads in each server process
 # MaxRequestsPerChild: maximum number of requests a server process serves
 <IfModule worker.c>
-StartServers         3
-MaxClients           8
-MinSpareThreads      5
+StartServers         2
+MaxClients         150
+MinSpareThreads     25
 MaxSpareThreads     75 
 ThreadsPerChild     25
 MaxRequestsPerChild  0

View raw message