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

Jaromir Hradilek jhradile at fedoraproject.org
Tue Oct 19 13:18:05 UTC 2010


commit 26ca8a835d5e0ad078ac9d7bdc366c7529299897
Author: Jaromir Hradilek <jhradile at redhat.com>
Date:   Tue Sep 7 19:25:55 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 7a96b1b..df79616 100644
--- a/en-US/The_Apache_HTTP_Server.xml
+++ b/en-US/The_Apache_HTTP_Server.xml
@@ -2791,6 +2791,22 @@ ErrorDocument 404 /404-not_found.html</screen>
           </listitem>
         </varlistentry>
         <varlistentry>
+          <term><option>MinSpareThreads</option></term>
+          <listitem>
+            <para>
+              The <option>MinSpareThreads</option> directive allows you to specify the minimum number of spare server threads. It takes the following form:
+            </para>
+            <screen>MinSpareThreads <replaceable>number</replaceable></screen>
+            <para>
+              This directive is used by the <systemitem class="resource">worker</systemitem> MPM only.
+            </para>
+            <example id="example-apache-mpm-minsparethreads">
+              <title>Using the <option>MinSpareThreads</option> directive</title>
+              <screen>MinSpareThreads 75</screen>
+            </example>
+          </listitem>
+        </varlistentry>
+        <varlistentry>
           <term><option>StartServers</option></term>
           <listitem>
             <para>
@@ -2823,15 +2839,6 @@ ErrorDocument 404 /404-not_found.html</screen>
           </listitem>
         </varlistentry>
       </variablelist>
-      <formalpara id="s3-apache-minmaxsparethreads">
-        <title>MinSpareThreads and MaxSpareThreads</title>
-        <para>
-          These values are only used with the <command>worker</command> MPM. They adjust how the Apache HTTP Server dynamically adapts to the perceived load by maintaining an appropriate number of spare server threads based on the number of incoming requests. The server checks the number of server threads waiting for a request and kills some if there are more than <command>MaxSpareThreads</command> or creates some if the number of servers is less than <command>MinSpareThreads</command>.
-        </para>
-      </formalpara>
-      <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>
     </section>
   </section>
   <section id="s1-apache-addmods">


More information about the docs-commits mailing list