
March 4, 2011
7:40 p.m.
On 05:09 pm, jasonjwwilliams@gmail.com wrote:
Actually, I think the TIME_WAIT is the problem. It's what I see in netstat, and the Agent requests are fired sequentially via yield inside a for loop (inlineCallbacks). So they shouldn't be running in parallel.
The use case here is loading a Riak server with keys to prepare for a test. There's not a real way to get around sending one POST per key.
How would I set the timeout value in Twisted? Or do I have to modify the timeout/keepalive systemwide in /proc?
As far as I know, there are only system-wide settings for this value on all the major platforms. It seems like you'll be happiest using persistent connections, though, once Agent actually offers those. Jean-Paul