tcp socks at close_wait for days without process
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 4 lines · Mihai RUSU
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1On Mon, 29 Dec 2003, Markus Kolb wrote:
[...]
Quoted 3 lines
netstat -an | grep
CLOSE_WAIT
fuser -n tcp <localport>,<remote-addr>,<remote-port>
where <localport>, <remote-addr>, <remote-port> you take them from the netstat output. fuser should give you the PID of the owner of the sockets inCLOSE_WAIT. kill it and they should dissapear.
Well the process list has been very short. So I am pretty sure that there hasn't been any processes from the application. Could it be that the socket which first belongs to the crashed application is bound to the father process of this crashed application? This would be a bash or init.
Thanks for the hint with fuser.
Before the next reboot I will try to reproduce and will use the fuser command to see more details.
Bye