From: Paul Querna Date: Fri, 25 Feb 2005 06:24:06 +0000 (+0000) Subject: Adding some initial docs for the Event MPM. X-Git-Tag: 2.1.4~36 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e0450262d87e9c84435458f470cec09bfa6ff1a0;p=thirdparty%2Fapache%2Fhttpd.git Adding some initial docs for the Event MPM. I plan on updating mod/event.xml with more details this weekend. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@155309 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/mod/event.xml b/docs/manual/mod/event.xml new file mode 100644 index 00000000000..20dc8158ed1 --- /dev/null +++ b/docs/manual/mod/event.xml @@ -0,0 +1,94 @@ + + + + + + + + +event +An experimental variant of the standard worker +MPM +MPM +event.c +mpm_event_module + + + Warning +

This MPM is experimental, so it may or may not work + as expected.

+
+ +

To use the event MPM, add + --with-mpm=event to the configure + script's arguments when building the httpd.

+ +

This MPM depends on APR's atomic compare-and-swap operations for + thread synchronization. If you are compiling for an x86 target + and you don't need to support 386s, or you are compiling for a + SPARC and you don't need to run on pre-UltraSPARC chips, add + --enable-nonportable-atomics=yes to the + configure script's arguments. This will cause + APR to implement atomic operations + using efficient opcodes not available in older CPUs.

+
+ +AcceptMutex + +CoreDumpDirectory + +EnableExceptionHook + +Group + +Listen + +ListenBacklog + +SendBufferSize + +LockFile + +MaxClients + +MaxMemFree + +MaxRequestsPerChild + +MaxSpareThreads + +MinSpareThreads + +PidFile + +ScoreBoardFile + +ServerLimit + +StartServers + +ThreadLimit + +ThreadsPerChild + +ThreadStackSize + +User + + +
diff --git a/docs/manual/mod/event.xml.meta b/docs/manual/mod/event.xml.meta new file mode 100644 index 00000000000..daffdde3d98 --- /dev/null +++ b/docs/manual/mod/event.xml.meta @@ -0,0 +1,11 @@ + + + + event + /mod/ + .. + + + en + + diff --git a/docs/manual/mpm.xml b/docs/manual/mpm.xml index a2108bf939a..b20caa38f15 100644 --- a/docs/manual/mpm.xml +++ b/docs/manual/mpm.xml @@ -63,7 +63,7 @@ how they are used by the Apache HTTP Server.

  • The server can be better customized for the needs of the particular site. For example, sites that need a great deal of scalability can choose to use a threaded MPM like - worker, while sites requiring + worker or event, while sites requiring stability or compatibility with older software can use a prefork. In addition, special features like serving different hosts under different diff --git a/docs/manual/new_features_2_2.xml b/docs/manual/new_features_2_2.xml index bf0e4299a52..61c3a598dbf 100644 --- a/docs/manual/new_features_2_2.xml +++ b/docs/manual/new_features_2_2.xml @@ -73,6 +73,13 @@ modern 32-bit Unix systems. Support for handling >2Gb request bodies has also been added. +
    Event MPM
    +
    The event MPM uses a seperate thread to handle + Keep Alive requests and accepting connections. Keep Alive requests + have traditionally required httpd to dedicate a worker to handle it. + This dedicated worker could not be used again until the Keep Alive + timeout was reached.
    +