How to reduce the number of time wait connections

view full story

http://serverfault.com – I'm running comet server on linux (Debian). All the connections are proxied by nginx. And my time_wait/live rate is too big although I set reuse_connections. Here is my sysctl.conf rules: net.ipv4.tcp_tw_reuse = 1 net.ipv4.tcp_tw_recycle = 1 net.ipv4.tcp_keepalive_time = 60 net.ipv4.tcp_fin_timeout = 3 net.ipv4.tcp_max_tw_buckets = 360000 net.ipv4.tcp_keepalive_probes=3 Could you give me any clue why? (HowTos)