]> granicus.if.org Git - apache/commitdiff
As discussed on the list, change the default setting for
authorRich Bowen <rbowen@apache.org>
Wed, 13 Apr 2005 01:21:11 +0000 (01:21 +0000)
committerRich Bowen <rbowen@apache.org>
Wed, 13 Apr 2005 01:21:11 +0000 (01:21 +0000)
KeepAliveTimeout from 15 seconds to 5 seconds.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@161140 13f79535-47bb-0310-9956-ffa450edef68

docs/conf/extra/httpd-default.conf.in
docs/manual/misc/perf-tuning.html.en
docs/manual/misc/perf-tuning.xml
docs/manual/mod/core.html.en
docs/manual/mod/core.xml
docs/manual/mod/quickreference.html.en
include/httpd.h

index 30ce7b8ff4909a71301dfb244bea4a3e811bdc90..efeca0520f718680d583b0e62c1450b802b04041 100644 (file)
@@ -26,7 +26,7 @@ MaxKeepAliveRequests 100
 # KeepAliveTimeout: Number of seconds to wait for the next request from the
 # same client on the same connection.
 #
-KeepAliveTimeout 15
+KeepAliveTimeout 5
 
 #
 # UseCanonicalName: Determines how Apache constructs self-referencing 
index f551a586f86b4ae2029c4de05f16e6a404f20694..d31b0e9ee51c8d9078fbd0359f1f26eb3b009093 100644 (file)
 
     <p>When keep-alives are in use, children will be kept busy
     doing nothing waiting for more requests on the already open
-    connection. The default <code class="directive"><a href="../mod/core.html#keepalivetimeout">KeepAliveTimeout</a></code> of <code>15</code>
+    connection. The default <code class="directive"><a href="../mod/core.html#keepalivetimeout">KeepAliveTimeout</a></code> of <code>5</code>
     seconds attempts to minimize this effect. The tradeoff here is
     between network bandwidth and server resources. In no event
     should you raise this above about <code>60</code> seconds, as <a href="http://www.research.digital.com/wrl/techreports/abstracts/95.4.html">
index e05e3beb78bf2eb49de69e4c8008012d8a013033..db16fcca2402aba4ad8801fa897664fbb499330f 100644 (file)
     <p>When keep-alives are in use, children will be kept busy
     doing nothing waiting for more requests on the already open
     connection. The default <directive module="core"
-    >KeepAliveTimeout</directive> of <code>15</code>
+    >KeepAliveTimeout</directive> of <code>5</code>
     seconds attempts to minimize this effect. The tradeoff here is
     between network bandwidth and server resources. In no event
     should you raise this above about <code>60</code> seconds, as <a
index e5d5a0381886699a1e88294251291842f682effb..3e3373dc05aa781feb40f5c03d58f00d68c5c911 100644 (file)
@@ -1491,7 +1491,7 @@ the server configuration files</td></tr>
 <tr><th><a href="directive-dict.html#Description">Description:</a></th><td>Amount of time the server will wait for subsequent
 requests on a persistent connection</td></tr>
 <tr><th><a href="directive-dict.html#Syntax">Syntax:</a></th><td><code>KeepAliveTimeout <var>seconds</var></code></td></tr>
-<tr><th><a href="directive-dict.html#Default">Default:</a></th><td><code>KeepAliveTimeout 15</code></td></tr>
+<tr><th><a href="directive-dict.html#Default">Default:</a></th><td><code>KeepAliveTimeout 5</code></td></tr>
 <tr><th><a href="directive-dict.html#Context">Context:</a></th><td>server config, virtual host</td></tr>
 <tr><th><a href="directive-dict.html#Status">Status:</a></th><td>Core</td></tr>
 <tr><th><a href="directive-dict.html#Module">Module:</a></th><td>core</td></tr>
index ad8e8b78f674c3f59c693c43ee9bd9f1db3075c6..b38a20949ea755d567d0c48f994cc7e50505cfe1 100644 (file)
@@ -1453,7 +1453,7 @@ the server configuration files</description>
 <description>Amount of time the server will wait for subsequent
 requests on a persistent connection</description>
 <syntax>KeepAliveTimeout <var>seconds</var></syntax>
-<default>KeepAliveTimeout 15</default>
+<default>KeepAliveTimeout 5</default>
 <contextlist><context>server config</context><context>virtual host</context>
 </contextlist>
 
index 988bf8ca0cc145f5734125b2488cdd8159727992..4b3142a032dd89e68244b15c2fd969a607480b7c 100644 (file)
@@ -365,7 +365,7 @@ extensions</td></tr>
 <tr class="odd"><td><a href="mod_isapi.html#isapireadaheadbuffer">ISAPIReadAheadBuffer <var>size</var></a></td><td> 49152 </td><td>svdh</td><td>B</td></tr><tr class="odd"><td class="descr" colspan="4">Size of the Read Ahead Buffer sent to ISAPI
 extensions</td></tr>
 <tr><td><a href="core.html#keepalive" id="K" name="K">KeepAlive On|Off</a></td><td> On </td><td>sv</td><td>C</td></tr><tr><td class="descr" colspan="4">Enables HTTP persistent connections</td></tr>
-<tr class="odd"><td><a href="core.html#keepalivetimeout">KeepAliveTimeout <var>seconds</var></a></td><td> 15 </td><td>sv</td><td>C</td></tr><tr class="odd"><td class="descr" colspan="4">Amount of time the server will wait for subsequent
+<tr class="odd"><td><a href="core.html#keepalivetimeout">KeepAliveTimeout <var>seconds</var></a></td><td> 5 </td><td>sv</td><td>C</td></tr><tr class="odd"><td class="descr" colspan="4">Amount of time the server will wait for subsequent
 requests on a persistent connection</td></tr>
 <tr><td><a href="mod_negotiation.html#languagepriority" id="L" name="L">LanguagePriority <var>MIME-lang</var> [<var>MIME-lang</var>]
 ...</a></td><td></td><td>svdh</td><td>B</td></tr><tr><td class="descr" colspan="4">The precendence of language variants for cases where
index f0b81276c0e334170c2914fcc164bae238bb77d8..761a612b6a3ae494cc02b32e402a78825d602346 100644 (file)
@@ -149,7 +149,7 @@ extern "C" {
 
 /* The timeout for waiting for keepalive timeout until next request */
 #ifndef DEFAULT_KEEPALIVE_TIMEOUT
-#define DEFAULT_KEEPALIVE_TIMEOUT 15
+#define DEFAULT_KEEPALIVE_TIMEOUT 5
 #endif
 
 /* The number of requests to entertain per connection */