[deployment-guide/comm-rel: 622/727] Updated the MinSpareThreads directive description.

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


commit 0917e90bf2c52948442207b29f8a7101d182efea
Author: Jaromir Hradilek <jhradile at redhat.com>
Date:   Tue Sep 7 18:36:16 2010 +0200

    Updated the MinSpareThreads directive description.

 en-US/The_Apache_HTTP_Server.xml |   25 ++++++++++++++++---------
 1 files changed, 16 insertions(+), 9 deletions(-)
---
diff --git a/en-US/The_Apache_HTTP_Server.xml b/en-US/The_Apache_HTTP_Server.xml
index 34b1160..079d5bd 100644
--- a/en-US/The_Apache_HTTP_Server.xml
+++ b/en-US/The_Apache_HTTP_Server.xml
@@ -2759,6 +2759,22 @@ ErrorDocument 404 /404-not_found.html</screen>
           </listitem>
         </varlistentry>
         <varlistentry>
+          <term><option>MinSpareServers</option></term>
+          <listitem>
+            <para>
+              The <option>MinSpareServers</option> directive allows you to specify the minimum number of spare child processes. It takes the following form:
+            </para>
+            <screen>MinSpareServers <replaceable>number</replaceable></screen>
+            <para>
+              Note that a high <replaceable>number</replaceable> can create a heavy processing load on the server. This directive is used by the <systemitem class="resource">prefork</systemitem> MPM only.
+            </para>
+            <example id="example-apache-mpm-minspareservers">
+              <title>Using the <option>MinSpareServers</option> directive</title>
+              <screen>MinSpareServers 5</screen>
+            </example>
+          </listitem>
+        </varlistentry>
+        <varlistentry>
           <term><option>StartServers</option></term>
           <listitem>
             <para>
@@ -2791,15 +2807,6 @@ ErrorDocument 404 /404-not_found.html</screen>
           </listitem>
         </varlistentry>
       </variablelist>
-      <formalpara id="s3-apache-minmaxspareservers">
-        <title>MinSpareServers and MaxSpareServers</title>
-        <para>
-          These values are only used with the <command>prefork</command> MPM. They adjust how the Apache HTTP Server dynamically adapts to the perceived load by maintaining an appropriate number of spare server processes based on the number of incoming requests. The server checks the number of servers waiting for a request and kills some if there are more than <command>MaxSpareServers</command> or creates some if the number of servers is less than <command>MinSpareServers</command>.
-        </para>
-      </formalpara>
-      <para>
-        The default <command>MinSpareServers</command> value is <command>5</command>; the default <command>MaxSpareServers</command> value is <command>20</command>. These default settings should be appropriate for most situations. Be careful not to increase the <command>MinSpareServers</command> to a large number as doing so creates a heavy processing load on the server even when traffic is light.
-      </para>
       <formalpara id="s3-apache-minmaxsparethreads">
         <title>MinSpareThreads and MaxSpareThreads</title>
         <para>


More information about the docs-commits mailing list