I imagine that kill -9 still just sends a signal to a process. If the process is not behaving well, I would imagine that kill -9 would have no effect. Indeed, today for the first time I saw kill -9 have no effect when sent to a stuck ruby process. So here is my question: Is there some harsher way to kill a process?
|
You have to reboot the machine. If (The above assumes the process has already been reparented to |
|||||||||
|
|
Every time I have a job that is stuck and signals 9 or 15 won't kill it, I send it signal 30 (SIGPWR) and almost every single time it will clear it out. I can't recall when sending the power outage signal didn't work. |
|||
|
|
|
Yes there is, a reboot... Normally though being unable to kill -9 a process is not such a problem since these processes are not doing much to hog your system, they're probably just zombies. The only time it necessitated me to reboot in order to get rid of it is when it was "occupying" a tcp port I needed to use. |
|||
|
|
Rack::Server.newand the processes were handled correctly, and would thereafter respond tocontrol-c. – vgoff Dec 15 '12 at 1:01