2
I have a process running in cygwin and using a port. When I kill the process in another cygwin window by issuing command:
kill -9 PID or /bin/kill -f PID
I can see the process got terminated. However, the port is not released. Usually I can terminate the process cleanly by using ctrl-c. Is there a kill command that can have the same effect as ctrl-c in cygwin? Thanks!
If the process is killed, the port will (eventually) time out and be freed – mpez0 – 2010-09-09T19:07:05.623
It seems like the process is killed. Nothing shows up when I grep it. But I can see it in Windows Task Manager that the process is still running. In this case, the process is java.exe. If I end the process in Task Manager, the port is released instantly. – logoin – 2010-09-09T19:17:37.930