[deployment-guide/comm-rel: 619/727] Updated the ThreadsPerChild directive description.

Jaromir Hradilek jhradile at fedoraproject.org
Tue Oct 19 13:17:39 UTC 2010


commit d35576c320f0a348bf93736bb2d465138a4ce991
Author: Jaromir Hradilek <jhradile at redhat.com>
Date:   Tue Sep 7 17:53:13 2010 +0200

    Updated the ThreadsPerChild directive description.

 en-US/The_Apache_HTTP_Server.xml |   22 ++++++++++++++++------
 1 files changed, 16 insertions(+), 6 deletions(-)
---
diff --git a/en-US/The_Apache_HTTP_Server.xml b/en-US/The_Apache_HTTP_Server.xml
index 4aa5274..77036f2 100644
--- a/en-US/The_Apache_HTTP_Server.xml
+++ b/en-US/The_Apache_HTTP_Server.xml
@@ -2742,6 +2742,22 @@ ErrorDocument 404 /404-not_found.html</screen>
             </example>
           </listitem>
         </varlistentry>
+        <varlistentry>
+          <term><option>ThreadsPerChild</option></term>
+          <listitem>
+            <para>
+              The <option>ThreadsPerChild</option> directive allows you to specify the number of threads a child process can create. It takes the following form:
+            </para>
+            <screen>ThreadsPerChild <replaceable>number</replaceable></screen>
+            <para>
+              The directive is used by the <systemitem class="resource">worker</systemitem> MPM only.
+            </para>
+            <example id="example-apache-mpm-threadsperchild">
+              <title>Using the <option>ThreadsPerChild</option> directive</title>
+              <screen>ThreadsPerChild 25</screen>
+            </example>
+          </listitem>
+        </varlistentry>
       </variablelist>
       <formalpara id="s3-apache-minmaxspareservers">
         <title>MinSpareServers and MaxSpareServers</title>
@@ -2767,12 +2783,6 @@ ErrorDocument 404 /404-not_found.html</screen>
           The <command>StartServers</command> directive sets how many server processes are created upon startup. Since the Web server dynamically kills and creates server processes based on traffic load, it is not necessary to change this parameter. The Web server is set to start <command>8</command> server processes at startup for the <command>prefork</command> MPM and <command>2</command> for the <command>worker</command> MPM.
         </para>
       </formalpara>
-      <formalpara id="s3-apache-threadsperchild">
-        <title>ThreadsPerChild</title>
-        <para>
-          This value is only used with the <command>worker</command> MPM. It sets the number of threads within each child process. The default value for this directive is <command>25</command>.
-        </para>
-      </formalpara>
     </section>
   </section>
   <section id="s1-apache-addmods">


More information about the docs-commits mailing list