CLOSE_WAIT in netstat -a
Posted: Tue May 13, 2003 4:50 am
Hi,
We are facing problem that after the disconnect, client connection is taking very long time to release the connection. When I investigated using netstat -a | grep uv, I found that these connections were in a CLOSE_WAIT state. For an unusually long period, many minutes. The close_wait session remains till the DataStage engine is restarted again. With many such CLOSE_WAIT status active, New connections are refused to datastage engine.
The server is not running out of grunt (it's a Sun Fire 6800, 8CPU 900MHz, 16GB memory, 990GB disk space (out of 6.5TB SAN)).
We need help on following.
1) What are these CLOSE_WAIT sessions? IS it between DataStage Clinet and Server or Between DataStage Server and Database Server?
2) How do we identify involved pid's for the close wait session shown in netstat -a
3) How do we restrict occuring of CLOSE_WAIT events?
4) Can we identify and kill all pid's involved in CLOSE_WAIT status without re-starting DataStage engine?
Thanks in Advance.
Sanjay
Sanjay Desai
We are facing problem that after the disconnect, client connection is taking very long time to release the connection. When I investigated using netstat -a | grep uv, I found that these connections were in a CLOSE_WAIT state. For an unusually long period, many minutes. The close_wait session remains till the DataStage engine is restarted again. With many such CLOSE_WAIT status active, New connections are refused to datastage engine.
The server is not running out of grunt (it's a Sun Fire 6800, 8CPU 900MHz, 16GB memory, 990GB disk space (out of 6.5TB SAN)).
We need help on following.
1) What are these CLOSE_WAIT sessions? IS it between DataStage Clinet and Server or Between DataStage Server and Database Server?
2) How do we identify involved pid's for the close wait session shown in netstat -a
3) How do we restrict occuring of CLOSE_WAIT events?
4) Can we identify and kill all pid's involved in CLOSE_WAIT status without re-starting DataStage engine?
Thanks in Advance.
Sanjay
Sanjay Desai