Hi All,

I'm seeing strange behavior. After some time of work I'm getting to many
CLOSE_WAIT connections from clients, and  the number is increasing.

# netstat -tonp | grep CLOSE
tcp        1      0 111.22.33.44:80            
10.214.35.4:52429           CLOSE_WAIT  14531/traffic_serve off (0.00/0/0)
tcp        1      0 111.22.33.44:80            
11.202.242.217:51424        CLOSE_WAIT  14531/traffic_serve off (0.00/0/0)
tcp        1      0 111.22.33.44:80            
12.153.247.234:49950        CLOSE_WAIT  14531/traffic_serve off (0.00/0/0)
tcp        1      0 111.22.33.44:80            
13.179.104.225:58900        CLOSE_WAIT  14531/traffic_serve off (0.00/0/0)

To the end of the day, the amount of CLOSE_WAIT connections will be more
then 100.
Due to this issue, I'm getting incorrect number of
proxy.node.current_client_connections (as example, I can see hundred of
proxy.node.current_client_connections, while there is almost no traffic
on the server).

My timeouts:
CONFIG proxy.config.http.keep_alive_no_activity_timeout_in INT 30
CONFIG proxy.config.http.keep_alive_no_activity_timeout_out INT 120
CONFIG proxy.config.http.transaction_no_activity_timeout_in INT 30
CONFIG proxy.config.http.transaction_no_activity_timeout_out INT 30
CONFIG proxy.config.http.transaction_active_timeout_in INT 0
CONFIG proxy.config.http.transaction_active_timeout_out INT 0
CONFIG proxy.config.http.accept_no_activity_timeout INT 120
CONFIG proxy.config.http.background_fill_active_timeout INT 60
CONFIG proxy.config.http.background_fill_completed_threshold FLOAT 0.500000

OS: CenOS 6.3 2.6.32-279.14.1.el6.x86_64
traffic_server - 3.3.1-dev - (build # 11318)

Changing of net.ipv4.tcp_tw_reuse had no any effect.
Any suggestions will be very appreciated.

Thanks,


Reply via email to