Sept. 11, 2008
1:31 p.m.
Not necessarily related to what you've described, but I'll share something that's helped a good deal on my most-heavily hit twisted servers. Presuming you're using Linux: echo 1 > /proc/sys/net/ipv4/tcp_tw_recycle from http://lartc.org/howto/lartc.kernel.obscure.html : "Enable fast recycling TIME-WAIT sockets. Default value is 1. It should not be changed without advice/request of technical experts" My expert advice: only use this on machines connected on a low-latency LAN. It *will* break internet-facing interfaces. It halves the constant used by the Nagle algorithm: http://en.wikipedia.org/wiki/Nagle's_algorithm Kind regards, /p