How do I get rid of sockets in FIN_WAIT1 state?
- by Gert M
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?