]> granicus.if.org Git - apache/commitdiff
Add a configuration block for Event MPM.
authorRainer Jung <rjung@apache.org>
Tue, 15 Jun 2010 20:08:49 +0000 (20:08 +0000)
committerRainer Jung <rjung@apache.org>
Tue, 15 Jun 2010 20:08:49 +0000 (20:08 +0000)
Event is now the default MPM for many platforms,
so we should provide an explicit configuration.

Discussion for good values to follow.

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

docs/conf/extra/httpd-mpm.conf.in

index 0987cfca99de38d294dbcd6d0d1f6e3216fc9e6a..a6fab6dbd5f826bc85f13ac53893aa427ff475d1 100644 (file)
     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