[Twisted-Python] web site error

Jaakko Niemi liiwi at lonesom.pp.fi
Thu Oct 31 08:24:16 MST 2002


Glyph Lefkowitz <glyph at twistedmatrix.com> writes:

> On Wed, 30 Oct 2002 23:54:46 +0000 (GMT), Jeremy Noetzelman <jjn at kriln.com> wrote:
>> Personally, when I was running high volume web servers, we'd tune down the
>> keepalive timers to a fairly short interval to keep sockets from getting
>> tied up too long, to prevent resource availability issues that we were
>> seeing.
>
> Just out of curiosity, how does one configure this timeout with apache?

 Look at the Timeout and KeepAlive directives in httpd.conf or apache docs.
 Basically either timeout or max # of requests, and connection will be cut.

 As for 2.4 kernels, check Documentation/networking/ip-sysctl.txt and 
 tcp_keepalive_* there. Note: if you drop this to short value at tm.com,
 ssh users will hate you :)

                --j




More information about the Twisted-Python mailing list