2010/9/3 Timh Bergström <[email protected]>:
> # recycle time_wait sockets
> net.ipv4.tcp_tw_recycle = 1
> (should I use tcp_tw_reuse instead?)

Yes. Actually you should neither without exceedingly careful testing.
We ran with net.ipv4.tcp_tw_recycle enabled for a month, not realizing
it was causing our site to be extremely slow for many visitors. See
http://www.formilux.org/archives/haproxy/1008/3748.html for my list
post about the problem.

We might enable net.ipv4.tcp_tw_reuse later, which seems like a safer
option, but for the moment we are looking at ways to improve, not
jeopardize, stability. :-)

Reply via email to