Page 1 of 1

tcp_tw_recycle and/or tcp_tw_reuse is recommended?

Posted: Thu Sep 29, 2016 2:29 am
by Pablogc
Hello,

my question is: Is recommended active "tcp_tw_recycle" and/or "tcp_tw_reuse" on NagiosXI?, I understand that it could improvement web performance. "time wait" sockets will be eliminated quickly.


Thanks.

Re: tcp_tw_recycle and/or tcp_tw_reuse is recommended?

Posted: Thu Sep 29, 2016 9:50 am
by bwallace
TIme-Wait is a good thing :D and I would advise against tcp_tw_recycle/reuse. Enabling such may very well compound problems, perhaps even create new issues. Definitely have a read of the doc below. I just found it while looking into your question and found it very educational about time-wait in general and it really details why one should avoid or at least use caution with tcp_tw_recycle/reuse:

https://vincent.bernat.im/en/blog/2014- ... linux.html

Do you raise this question because you're having performance issues with your XI server? If so, please describe the area of performance degradation (slow loading pages, slow running reports,etc) and provide the server's hardware specs as well as the total number of active service checks and we can go from there, thanks.