You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by ja...@apache.org on 2019/02/15 08:28:00 UTC
svn commit: r1853619 -
/httpd/httpd/branches/2.4.x/docs/manual/mod/mpm_common.xml
Author: jailletc36
Date: Fri Feb 15 08:28:00 2019
New Revision: 1853619
URL: http://svn.apache.org/viewvc?rev=1853619&view=rev
Log:
Fix case in directive name, so that quickreference.xsl can extract default value correctly.
Add a note in ThreadsPerChild about the relationship with ThreadsLimit
r1838958, r1853617 and r1853618 in trunk
Modified:
httpd/httpd/branches/2.4.x/docs/manual/mod/mpm_common.xml
Modified: httpd/httpd/branches/2.4.x/docs/manual/mod/mpm_common.xml
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.4.x/docs/manual/mod/mpm_common.xml?rev=1853619&r1=1853618&r2=1853619&view=diff
==============================================================================
--- httpd/httpd/branches/2.4.x/docs/manual/mod/mpm_common.xml (original)
+++ httpd/httpd/branches/2.4.x/docs/manual/mod/mpm_common.xml Fri Feb 15 08:28:00 2019
@@ -272,7 +272,7 @@ in *BSDs.</compatibility>
<p>A <var>ratio</var> between the number of (online) CPU cores and the
number of listeners' buckets can be used to make Apache HTTP Server create
<code>num_cpu_cores / ratio</code> listening buckets, each containing its
- own <directive>Listen</directive>-ing socket(s) on the same port(s), and
+ own <directive module="mpm_common">Listen</directive>-ing socket(s) on the same port(s), and
then make each child handle a single bucket (with round-robin distribution
of the buckets at children creation time).</p>
@@ -329,8 +329,8 @@ in *BSDs.</compatibility>
<directivesynopsis>
<name>ListenBackLog</name>
<description>Maximum length of the queue of pending connections</description>
-<syntax>ListenBacklog <var>backlog</var></syntax>
-<default>ListenBacklog 511</default>
+<syntax>ListenBackLog <var>backlog</var></syntax>
+<default>ListenBackLog 511</default>
<contextlist><context>server config</context></contextlist>
<modulelist><module>event</module><module>worker</module>
<module>prefork</module><module>mpm_winnt</module>
@@ -810,6 +810,12 @@ per child process</description>
<p>The default value for <directive>ThreadsPerChild</directive> is
<code>64</code> when used with <module>mpm_winnt</module> and
<code>25</code> when used with the others.</p>
+
+ <p>The value of <directive>ThreadsPerChild</directive> can not exceed the
+ value of <directive module="mpm_common">ThreadLimit</directive>. If a
+ higher value is configured, it will be automatically reduced at start-up
+ and a warning will be logged. The relationship between these 2 directives
+ is explained in <directive module="mpm_common">ThreadLimit</directive>.</p>
</usage>
</directivesynopsis>