You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Aaron Bannert <aa...@clove.org> on 2001/08/27 22:52:48 UTC
[PATCH] default httpd.conf settings for worker MPM
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
Re: [PATCH] default httpd.conf settings for worker MPM
Posted by Justin Erenkrantz <je...@ebuilt.com>.
On Mon, Aug 27, 2001 at 01:52:48PM -0700, Aaron Bannert wrote:
> 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.
Committed. Thanks. -- justin