How do I get rid of sockets in FIN_WAIT1 state?

Posted by Gert M on Server Fault See other posts from Server Fault or by Gert M
Published on 2009-05-13T08:40:14Z Indexed on 2010/12/28 11:55 UTC
Read the original article Hit count: 227

Filed under:
|
|
|

I have a port that is blocked by a process I needed to kill. (a little telnet daemon that crashed) The process was killed successfully but the port is still in a 'FIN_WAIT1' state. It doesn't come out of it, the timeout for that seems to be set to 'a decade'. The only way I've found to free the port is to reboot the entire machine, which is ofcourse something I do not want to do.

$ netstat -tulnap | grep FIN_WAIT1 
tcp        0  13937 10.0.0.153:4000         10.0.2.46:2572          FIN_WAIT1  -

Does anyone know how I can get this port unblocked without rebooting?

© Server Fault or respective owner

Related posts about linux

Related posts about port