Hi, everyone.Let me describe problem we faced. Haproxy is working as a frontend in mode tcp to an application servers. By some reason haproxy spawns a lot of tcp sockets in "CLOSE_WAIT" state on client side which seems never will be closed until haproxy restart. Here is netstat:
30669 CLOSE_WAIT
6 CLOSING
262 ESTABLISHED
14 FIN_WAIT1
217 FIN_WAIT2
10 LAST_ACK
165 LISTEN
8 SYN_RECV
33 SYN_SENT
9932 TIME_WAIT
Is there any way to force haproxy close this sockets (like it happens
with "option forceclose" in mode http) due to timeout or anything?
Here is image that represents dynamic grow of CLOSE_WAIT sockets after haproxy restart.
http://storage5.static.itmages.ru/i/13/0911/h_1378890820_1716772_ad453ec7e7.png Thank you for attention.
<<attachment: render.png>>

