You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by rj...@apache.org on 2010/06/15 22:08:49 UTC

svn commit: r955033 - /httpd/httpd/trunk/docs/conf/extra/httpd-mpm.conf.in

Author: rjung
Date: Tue Jun 15 20:08:49 2010
New Revision: 955033

URL: http://svn.apache.org/viewvc?rev=955033&view=rev
Log:
Add a configuration block for Event MPM.

Event is now the default MPM for many platforms,
so we should provide an explicit configuration.

Discussion for good values to follow.

Modified:
    httpd/httpd/trunk/docs/conf/extra/httpd-mpm.conf.in

Modified: httpd/httpd/trunk/docs/conf/extra/httpd-mpm.conf.in
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/conf/extra/httpd-mpm.conf.in?rev=955033&r1=955032&r2=955033&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/conf/extra/httpd-mpm.conf.in (original)
+++ httpd/httpd/trunk/docs/conf/extra/httpd-mpm.conf.in Tue Jun 15 20:08:49 2010
@@ -56,6 +56,22 @@
     MaxRequestsPerChild   0
 </IfModule>
 
+# event MPM
+# StartServers: initial number of server processes 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 mpm_event_module>
+    StartServers          2
+    MaxClients          150
+    MinSpareThreads      25
+    MaxSpareThreads      75
+    ThreadsPerChild      25
+    MaxRequestsPerChild   0
+</IfModule>
+
 # NetWare MPM
 # ThreadStackSize: Stack size allocated for each worker thread
 # StartThreads: Number of worker threads launched at server startup