From 25e3095d48526f49c686cdd7e620a67b2cc8cb54 Mon Sep 17 00:00:00 2001 From: Rainer Jung Date: Thu, 8 Oct 2015 22:40:53 +0000 Subject: [PATCH] Sort MPMs given in modulelist uniformly, list most important or common ones first. CTR Backport of r1707627 from trunk. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1707629 13f79535-47bb-0310-9956-ffa450edef68 --- docs/manual/mod/mpm_common.xml | 108 ++++++++++++++++++--------------- 1 file changed, 58 insertions(+), 50 deletions(-) diff --git a/docs/manual/mod/mpm_common.xml b/docs/manual/mod/mpm_common.xml index 1bf8c2e414..0b7d35563e 100644 --- a/docs/manual/mod/mpm_common.xml +++ b/docs/manual/mod/mpm_common.xml @@ -34,8 +34,8 @@ switch before dumping core CoreDumpDirectory directory See usage for the default setting server config -eventprefork -worker +eventworker +prefork

This controls the directory to which Apache httpd attempts to @@ -86,8 +86,8 @@ after a crash EnableExceptionHook Off server config -eventprefork -worker +eventworker +prefork

For safety reasons this directive is only available if the server was @@ -110,8 +110,8 @@ will exit. GracefulShutdownTimeout seconds GracefulShutdownTimeout 0 server config -preforkworker -event +eventworker +prefork Available in version 2.2 and later @@ -131,8 +131,9 @@ of the daemon PidFile filename PidFile logs/httpd.pid server config -eventmpm_winnt -mpmt_os2preforkworker +eventworker +preforkmpm_winnt +mpmt_os2 @@ -173,10 +174,9 @@ of the daemon listens to Listen [IP-address:]portnumber [protocol] server config -mpm_netwarempm_winnt -mpmt_os2 -preforkworker -event +eventworker +preforkmpm_winnt +mpm_netwarempmt_os2 The protocol argument was added in 2.1.5 @@ -259,10 +259,9 @@ listeners' buckets ListenCoresBucketsRatio ratio ListenCoresBucketsRatio 0 (disabled) server config - -event +eventworker prefork -worker + Available in Apache HTTP Server 2.4.17, with a kernel supporting the socket option SO_REUSEPORT and distributing new connections evenly accross listening processes' (or threads') sockets using it (eg. Linux @@ -296,11 +295,10 @@ in *BSDs. ListenBacklog backlog ListenBacklog 511 server config - -event -mpm_netwarempm_winnt -mpmt_os2prefork -worker +eventworker +preforkmpm_winnt +mpm_netwarempmt_os2 +

The maximum length of the queue of pending connections. @@ -324,8 +322,8 @@ simultaneously MaxRequestWorkers number See usage for details server config -eventprefork -worker +eventworker +prefork @@ -367,8 +365,9 @@ to hold without calling free() MaxMemFree KBytes MaxMemFree 2048 server config -eventmpm_netware -preforkworkermpm_winnt +eventworker +preforkmpm_winnt +mpm_netware @@ -387,9 +386,10 @@ will handle during its life MaxConnectionsPerChild number MaxConnectionsPerChild 0 server config -eventmpm_netware -mpm_winntmpmt_os2 -preforkworker +eventworker +preforkmpm_winnt +mpm_netwarempmt_os2 + Available Apache HTTP Server 2.3.9 and later. The old name MaxRequestsPerChild is still supported. @@ -413,8 +413,9 @@ will handle during its life MaxSpareThreads number See usage for details server config -eventmpm_netware -mpmt_os2worker +eventworker +mpm_netwarempmt_os2 +

Maximum number of idle threads. Different MPMs deal with this @@ -460,8 +461,9 @@ spikes MinSpareThreads number See usage for details server config -eventmpm_netware -mpmt_os2worker +eventworker +mpm_netwarempmt_os2 +

Minimum number of idle threads to handle request spikes. @@ -494,8 +496,9 @@ the child processes ScoreBoardFile file-path ScoreBoardFile logs/apache_runtime_status server config -eventmpm_winnt -preforkworker +eventworker +preforkmpm_winnt +

Apache HTTP Server uses a scoreboard to communicate between its parent @@ -530,9 +533,10 @@ Apache HTTP Server ReceiveBufferSize bytes ReceiveBufferSize 0 server config -eventmpm_netware -mpm_winntmpmt_os2prefork -worker +eventworker +preforkmpm_winnt +mpm_netwarempmt_os2 +

The server will set the TCP receive buffer size to the number of @@ -549,9 +553,10 @@ Apache HTTP Server SendBufferSize bytes SendBufferSize 0 server config -eventmpm_netware -mpm_winntmpmt_os2prefork -worker +eventworker +preforkmpm_winnt +mpm_netwarempmt_os2 +

Sets the server's TCP send buffer size to the number of bytes @@ -579,8 +584,9 @@ Apache HTTP Server ServerLimit number See usage for details server config -eventprefork -worker +eventworker +prefork +

For the prefork MPM, this directive sets the @@ -637,8 +643,8 @@ Apache HTTP Server StartServers number See usage for details server config -eventmpmt_os2 -preforkworker +eventworker +preforkmpmt_os2 @@ -691,8 +697,9 @@ per child process ThreadLimit number See usage for details server config -eventmpm_winnt -worker +eventworker +mpm_winnt +

This directive sets the maximum configured value for ThreadsPerChild number See usage for details server config -eventmpm_winnt -worker +eventworker +mpm_winnt +

This directive sets the number of threads created by each @@ -762,9 +770,9 @@ client connections ThreadStackSize size 65536 on NetWare; varies on other operating systems server config -eventmpm_netware -mpmt_os2mpm_winntworker -event +eventworker +mpm_winntmpm_netware +mpmt_os2 Available in Apache HTTP Server 2.1 and later -- 2.40.0