Lot of FIN_WAIT2, CLOSE_WAIT , LAST_ACK and TIME_WAIT in Haproxy

Posted by Tux on Server Fault See other posts from Server Fault or by Tux
Published on 2012-11-19T11:02:51Z Indexed on 2012/11/19 11:10 UTC
Read the original article Hit count: 486

Filed under:
|

We are running haproxy in production for around 10k+ concurrent users . But we are seeing lot of FIN_WAIT2, CLOSE_WAIT , LAST_ACK and TIME_WAIT in the netstat output. This output is on a 8G ubuntu-12.04 node.

8046 CLOSE_WAIT 1 CLOSING 1 established) 40869 ESTABLISHED 1212 FIN_WAIT1 7575 FIN_WAIT2 1 Foreign 2252 LAST_ACK 7 LISTEN 143 SYN_RECV 4920 TIME_WAIT

Can someone please tell me what tweaking i need to do. Please note that all these connections are persistent connections .

tcp_fin_timeout = 30 tcp_keepalive_time = 1800

Right now, the application is working fine. But wondering will be there any issues as we add more users to this haproxy node.

© Server Fault or respective owner

Related posts about haproxy

Related posts about performance-tuning