akosut 97/01/25 17:31:15
Modified: htdocs/manual keepalive.html htdocs/manual/mod core.html Log: Update documentation for new KeepAlive syntax. Revision Changes Path 1.5 +3 -0 apache/htdocs/manual/keepalive.html Index: keepalive.html =================================================================== RCS file: /export/home/cvs/apache/htdocs/manual/keepalive.html,v retrieving revision 1.4 retrieving revision 1.5 diff -C3 -r1.4 -r1.5 *** keepalive.html 1996/12/12 01:09:40 1.4 --- keepalive.html 1997/01/26 01:31:13 1.5 *************** *** 21,26 **** --- 21,29 ---- Apache 1.1 comes with Keep-Alive support on by default, however there are some directives you can use to modify Apache's behavior: + <p><strong>Note</strong>: Apache 1.2 uses a different syntax for the <a + href="mod/core.html#keepalive">KeepAlive</a> directive.</p> + <h3>KeepAlive</h3> <strong>Syntax:</strong> KeepAlive <em>max-requests</em><br> <strong>Default:</strong> <code>KeepAlive 5</code><br> 1.30 +26 -3 apache/htdocs/manual/mod/core.html Index: core.html =================================================================== RCS file: /export/home/cvs/apache/htdocs/manual/mod/core.html,v retrieving revision 1.29 retrieving revision 1.30 diff -C3 -r1.29 -r1.30 *** core.html 1997/01/10 11:22:45 1.29 --- core.html 1997/01/26 01:31:14 1.30 *************** *** 38,43 **** --- 38,44 ---- <li><A HREF="#listen">Listen</A> <li><A HREF="#location"><Location></A> <li><A HREF="#maxclients">MaxClients</A> + <li><A HREF="#maxkeepaliverequests">MaxKeepAliveRequests</a> <li><A HREF="#maxrequestsperchild">MaxRequestsPerChild</A> <li><A HREF="#maxspareservers">MaxSpareServers</A> <li><A HREF="#minspareservers">MinSpareServers</A> *************** *** 544,551 **** <P> <hr> <h2><a name="keepalive">KeepAlive</a></h2> ! <strong>Syntax:</strong> KeepAlive <em>max-requests</em><br> ! <strong>Default:</strong> <code>KeepAlive 5</code><br> <strong>Context:</strong> server config<br> <strong>Status:</strong> Core<br> <strong>Compatibility:</strong> KeepAlive is only available in Apache --- 545,554 ---- <P> <hr> <h2><a name="keepalive">KeepAlive</a></h2> ! <strong>Syntax: (Apache 1.1)</strong> KeepAlive <em>max-requests</em><br> ! <strong>Default: (Apache 1.1)</strong> <code>KeepAlive 5</code><br> ! <strong>Syntax: (Apache 1.2)</strong> KeepAlive <em>on/off</em><br> ! <strong>Default: (Apache 1.2)</strong> <code>KeepAlive On</code><br> <strong>Context:</strong> server config<br> <strong>Status:</strong> Core<br> <strong>Compatibility:</strong> KeepAlive is only available in Apache *************** *** 553,563 **** This directive enables <a href="../keepalive.html">Keep-Alive</a> ! support. Set <em>max-requests</em> to the maximum number of requests you want Apache to entertain per request. A limit is imposed to prevent a client from hogging your server resources. Set this to <code>0</code> to disable support. <h2><a name="keepalivetimeout">KeepAliveTimeout</a></h2> <strong>Syntax:</strong> KeepAliveTimeout <em>seconds</em><br> <strong>Default:</strong> <code>KeepAliveTimeout 15</code><br> --- 556,572 ---- This directive enables <a href="../keepalive.html">Keep-Alive</a> ! support. ! ! <p><strong>Apache 1.1</strong>: Set <em>max-requests</em> to the maximum number of requests you want Apache to entertain per request. A limit is imposed to prevent a client from hogging your server resources. Set this to <code>0</code> to disable support. + <p><strong>Apache 1.2 and later</strong>: Set to "On" to enable + persistent connections, "Off" to disable. See also the <a + href="#maxkeepaliverequests">MaxKeepAliveRequests</a> directive.</p> + <h2><a name="keepalivetimeout">KeepAliveTimeout</a></h2> <strong>Syntax:</strong> KeepAliveTimeout <em>seconds</em><br> <strong>Default:</strong> <code>KeepAliveTimeout 15</code><br> *************** *** 676,681 **** --- 685,704 ---- The MaxClients directive sets the limit on the number of simultaneous requests that can be supported; not more than this number of child server processes will be created.<p><hr> + + <A name="maxkeepaliverequests"><h2>MaxKeepAliveRequests</h2></A> + <strong>Syntax:</strong> MaxKeepAliveRequests <em>number</em><br> + <strong>Default:</strong> <code>MaxKeepAliveRequests</code><br> + <strong>Context:</strong> server config<br> + <strong>Status:</strong> core<br> + <strong>Compatibility:</strong> Only available in Apache + 1.2 and later. + + <p>The MaxKeepAliveRequests directive limits the number of requests + allowed per connection when <a href="#keepalive">KeepAlive</a> is + on. If it is set to "<code>0</code>," unlimited requests will be + allowed. We reccomend that this setting is kept to a high value, for + maximum server peformance. <A name="maxrequestsperchild"><h2>MaxRequestsPerChild directive</h2></A> <!--%plaintext <?INDEX {\tt MaxRequestsPerChild} directive> -->