tcp_tw_recycle and/or tcp_tw_reuse is recommended?

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
Pablogc
Posts: 16
Joined: Fri Feb 26, 2016 6:15 am

tcp_tw_recycle and/or tcp_tw_reuse is recommended?

Post 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.
bwallace
Posts: 1145
Joined: Tue Nov 17, 2015 1:57 pm

Re: tcp_tw_recycle and/or tcp_tw_reuse is recommended?

Post 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.
Be sure to check out the Knowledgebase for helpful articles and solutions!
Locked