Best network tuning variables for a Linux proxy
Posted
by
smarthall
on Server Fault
See other posts from Server Fault
or by smarthall
Published on 2012-03-26T10:51:46Z
Indexed on
2012/03/26
11:33 UTC
Read the original article
Hit count: 226
What are the best settings to tune so that Linux can handle a very large amount of TCP connections such as would be seen by a proxy server or a webserver?
I'm using Centos6 and squid and am seeing a large amount of TIME_WAIT connections backing up until finally the machine stops responding. The machine isn't loaded at the time, and is having trouble making ingoing and outgoing connections.
I've had several suggestions of tuning /proc/sys/net/ipv4/tcp_tw_reuse
and /proc/sys/net/ipv4/tcp_tw_reuse
but they mention bad interactions with load balancers and NAT both of which are used in my situation.
© Server Fault or respective owner