Lingering tcp connection in LISTEN state
- by Silvio Donnini
My java application can sometimes be killed by an external script. This can be done either with SIGTERM or with SIGKILL.
The application is a server which receives many connections per second, and it can be killed while trying to serve them.
I would like to restart the application whenever it's killed, so I have prepared a script for that…