3 ms·
tcp_tw_recycle is not what you want. It is only applicable to outgoing connections (i.e. not people connecting to your server), and even in that case provides l
by pushrax 10y ago
tcp_tw_recycle is not what you want. It is only applicable to outgoing connections (i.e. not people connecting to your server), and even in that case provides little benefit over tcp_tw_reuse.
I like pointing people here for the explanation: https://vincent.bernat.im/en/blog/2014-tcp-time-wait-state-linux.html https://vincent.bernat.im/en/blog/2014-tcp-time-wait-state-l...
- mitchty 10y agoTrue enough, but its hard to diagnose what people are having problems with with such vague wording. Some apps might have to open connections to a backend, or not, etc... But you're quite right on recycle for outgoing. To be honest I tend to shy away from adjusting either unless I really need to.