-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Hi,

Some parts of mpm_common.xml seem to originate from the time when the
event MPM was still experimental or non-existent, since worker is
mentioned and event is not. Yesterday this caused some confusion in
the IRC channel so I wanted to update the documentation.

I've added the notion of event on a few places in the mpm_common page
where this happens, and attached the patch file for trunk to apply
this change.

Best regards,
Mathijs Schmittmann
-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - https://gpgtools.org

iQIcBAEBCgAGBQJWFraSAAoJEHU+9B0GxpC8BSIQAL5Sgs09lvb0YZma77c0SUuH
b+AgfFbwlPI7W5lqlB0zUbV5z2uxS0Gvw2szu/GLxtCblYCuBkzi+vMx0zBOO3qE
ehlX/9yccgISjCWoNLKe1ylVkMHDiWWkcOtbt9a4DTghPBIFrBmRXwqkYvM0WAKL
JeZkF9Urg33C4114Oom4kQxhZFVjxmWaoD6Zho4D58kGMpkK/oi1s0fk6o6dlaAi
+oCjAdWqX+I+c0rMrKIKRjixwfyHlMRWfBzr/lCK13W7W1ivrpSlqQ2O4+gzOl01
MLYRBTpBGDk4VbT/iPNl/PoBv2fMkdW5Bm2jY3FVQHP42HpZufEnhMnSFtY1XmQa
uMJC2UX27qdLISzs5d94kFO13ASKp/HO6PCTP+W2uKmjSt9vS7LqCWZ+tIGnvaD1
g+wxOfu+Ajwiy8rDPnIXuBv6wLRjLWNdSTEAWpT3U8Q7xNQAifftj4UlFWr8zji4
tga79DiMY2oPP3D323ywUc2Ukdf2hgQRX4Cb3PfMkMjl5i21kmZ7ZlBjq6UVmcfq
mJa7NpsRfYvGB9mZ+wRES5q/f6kd9Yt/Ynrwa4qT2UMb1Y2KBIGPSFznhMFDoVJv
NfCrToFG+20zk6X8eHTu7ARTjkpNRu0I4AbNwOV9cssWVMPkZKT/rWBefz43myU0
ilZAgCq0LcYrRCRrlDtk
=Fin2
-----END PGP SIGNATURE-----
Index: mpm_common.xml
===================================================================
--- mpm_common.xml      (revision 1707596)
+++ mpm_common.xml      (working copy)
@@ -418,8 +418,8 @@
     <p>Maximum number of idle threads. Different MPMs deal with this
     directive differently.</p>

-    <p>For <module>worker</module>, the default is
-    <code>MaxSpareThreads 250</code>. This MPM deals with idle threads
+    <p>For <module>worker</module> and <module>event</module>, the default is
+    <code>MaxSpareThreads 250</code>. These MPMs deal with idle threads
     on a server-wide basis. If there are too many idle threads in the
     server then child processes are killed until the number of idle
     threads is less than this number.</p>
@@ -440,9 +440,10 @@
         <li><module>mpm_netware</module> wants the value to be greater than
         <directive module="mpm_common">MinSpareThreads</directive>.</li>

-        <li>For <module>worker</module>, the value must be greater or equal
-        to the sum of <directive 
module="mpm_common">MinSpareThreads</directive>
-        and <directive module="mpm_common">ThreadsPerChild</directive>.</li>
+        <li>For <module>worker</module> and <module>event</module>, the value
+        must be greater or equal to the sum of <directive module="mpm_common">
+        MinSpareThreads</directive> and <directive module="mpm_common">
+       ThreadsPerChild</directive>.</li>
       </ul>
     </note>
 </usage>
@@ -463,12 +464,11 @@

 <usage>
     <p>Minimum number of idle threads to handle request spikes.
-    Different MPMs deal with this directive
-    differently.</p>
+    Different MPMs deal with this directive differently.</p>

-    <p><module>worker</module> uses a default of <code>MinSpareThreads
-    75</code> and deals with idle threads on a server-wide basis. If
-    there aren't enough idle threads in the server then child
+    <p><module>worker</module> and <module>event</module> use a default of
+    <code>MinSpareThreads 75</code> and deal with idle threads on a server-wide
+    basis. If there aren't enough idle threads in the server then child
     processes are created until the number of idle threads is greater
     than <var>number</var>.</p>

@@ -588,12 +588,12 @@
     <p>For the <module>prefork</module> MPM, this directive sets the
     maximum configured value for <directive
     module="mpm_common">MaxRequestWorkers</directive> for the lifetime of the
-    Apache httpd process.  For the <module>worker</module> MPM, this directive
-    in combination with <directive
+    Apache httpd process. For the <module>worker</module> and <module>event
+    </module> MPMs, this directive in combination with <directive
     module="mpm_common">ThreadLimit</directive> sets
     the maximum configured value for <directive
     module="mpm_common">MaxRequestWorkers</directive> for the lifetime of the
-    Apache httpd process.  Any attempts to change this directive during a
+    Apache httpd process. Any attempts to change this directive during a
     restart will be ignored, but <directive
     module="mpm_common">MaxRequestWorkers</directive> can be modified during
     a restart.</p>
@@ -613,9 +613,9 @@
     might want to set <directive
     module="mpm_common">MaxRequestWorkers</directive> to.</p>

-    <p>With <module>worker</module>, use this directive only
-    if your <directive module="mpm_common">MaxRequestWorkers</directive> and
-    <directive module="mpm_common">ThreadsPerChild</directive>
+    <p>With <module>worker</module> and <module>event</module>, use this
+    directive only if your <directive module="mpm_common">MaxRequestWorkers
+    </directive> and <directive module="mpm_common">ThreadsPerChild</directive>
     settings require more than 16 server processes (default). Do not set
     the value of this directive any higher than the number of server
     processes required by what you may want for <directive
@@ -653,10 +653,10 @@
     module="prefork">MaxSpareServers</directive>)
     there is usually little reason to adjust this parameter.</p>

-    <p>The default value differs from MPM to MPM. <module>worker</module>
-    defaults to <code>StartServers 3</code>; <module>prefork</module>
-    defaults to <code>5</code>; <module>mpmt_os2</module> defaults to
-    <code>2</code>.</p>
+    <p>The default value differs from MPM to MPM. <module>worker</module> and
+    <module>event</module> default to <code>StartServers 3</code>; <module>
+    prefork</module> defaults to <code>5</code>; <module>mpmt_os2</module>
+    defaults to <code>2</code>.</p>
 </usage>
 </directivesynopsis>

Attachment: patch.diff.sig
Description: Binary data

---------------------------------------------------------------------
To unsubscribe, e-mail: docs-unsubscr...@httpd.apache.org
For additional commands, e-mail: docs-h...@httpd.apache.org

Reply via email to