[deployment-guide/comm-rel: 620/727] Updated the StartServers directive description.

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


commit 933c26bd7f90a96ed5c1ca2f50e8121e48bf0765
Author: Jaromir Hradilek <jhradile at redhat.com>
Date:   Tue Sep 7 18:07:35 2010 +0200

    Updated the StartServers 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 77036f2..7cfd3f6 100644
--- a/en-US/The_Apache_HTTP_Server.xml
+++ b/en-US/The_Apache_HTTP_Server.xml
@@ -2743,6 +2743,22 @@ ErrorDocument 404 /404-not_found.html</screen>
           </listitem>
         </varlistentry>
         <varlistentry>
+          <term><option>StartServers</option></term>
+          <listitem>
+            <para>
+              The <option>StartServers</option> directive allows you to specify the number of child processes to create when the service is started. It takes the following form:
+            </para>
+            <screen>StartServers <replaceable>number</replaceable></screen>
+            <para>
+              Since the child processes are dynamically created and terminated according to the current traffic load, it is usually not necessary to change this value.
+            </para>
+            <example id="example-apache-mpm-startservers">
+              <title>Using the <option>StartServers</option> directive</title>
+              <screen>StartServers 8</screen>
+            </example>
+          </listitem>
+        </varlistentry>
+        <varlistentry>
           <term><option>ThreadsPerChild</option></term>
           <listitem>
             <para>
@@ -2777,12 +2793,6 @@ ErrorDocument 404 /404-not_found.html</screen>
       <para>
         The default <command>MinSpareThreads</command> value is <command>25</command>; the default <command>MaxSpareThreads</command> value is <command>75</command>. These default settings should be appropriate for most situations. The value for <command>MaxSpareThreads</command> must be greater than or equal to the sum of <command>MinSpareThreads</command> and <command>ThreadsPerChild</command>, else the Apache HTTP Server automatically corrects it.
       </para>
-      <formalpara id="s3-apache-startservers">
-        <title>StartServers</title>
-        <para>
-          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>
     </section>
   </section>
   <section id="s1-apache-addmods">


More information about the docs-commits mailing list