Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I like to use the following commands to manage 'TIME_WAIT', in the hope to free up resources.

echo 20 > /proc/sys/net/ipv4/tcp_fin_timeout
sysctl -w net.ipv4.tcp_tw_reuse=1
sysctl -w net.ipv4.tcp_tw_recycle=1

I found something interesting while doing a tcpdump. Sometimes if a client makes a connection (syn), the server will not reply (syn -ack).

My question is, could it be because of the top three commands.

share|improve this question
add comment

2 Answers

tw_recycle does not play well with load-balancers.

"Known to cause some issues with hoststated (load balancing and fail over) if enabled, should be used with caution."

http://www.speedguide.net/articles/linux-tweaking-121

share|improve this answer
add comment

Apparently, yes: http://www.gadgetwiz.com/administration/kernel.html

I can't explain why, though.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.