httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aaron Bannert <aa...@clove.org>
Subject [PATCH] default httpd.conf settings for worker MPM
Date Mon, 27 Aug 2001 20:52:48 GMT
As the worker MPM is really an alternative to the threaded MPM
(and hopefully it'll be a replacement), the httpd.conf settings
are identical.

-aaron


Index: highperformance-std.conf
===================================================================
RCS file: /home/cvspublic/httpd-2.0/docs/conf/highperformance-std.conf,v
retrieving revision 1.5
diff -u -r1.5 highperformance-std.conf
--- highperformance-std.conf	2001/08/12 15:44:18	1.5
+++ highperformance-std.conf	2001/08/27 20:49:20
@@ -34,6 +34,14 @@
 ThreadsPerChild 25
 </IfModule>
 
+<IfModule worker.c>
+MaxClients       8
+StartServers     3
+MinSpareThreads  5
+MaxSpareThreads 10
+ThreadsPerChild 25
+</IfModule>
+
 # Assume no memory leaks at all
 MaxRequestsPerChild 0
 
Index: httpd-std.conf
===================================================================
RCS file: /home/cvspublic/httpd-2.0/docs/conf/httpd-std.conf,v
retrieving revision 1.44
diff -u -r1.44 httpd-std.conf
--- httpd-std.conf	2001/08/23 15:17:02	1.44
+++ httpd-std.conf	2001/08/27 20:49:20
@@ -130,6 +130,22 @@
 MaxRequestsPerChild  0
 </IfModule>
 
+# worker MPM
+# StartServers: initial number of server processes to start
+# MaxClients: maximum number of server processes allowed to start
+# 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
+MaxSpareThreads     75 
+ThreadsPerChild     25
+MaxRequestsPerChild  0
+</IfModule>
+
 # perchild MPM
 # NumServers: constant number of server processes
 # StartThreads: initial number of worker threads in each server process

Mime
View raw message