Timeline for What if 'kill -9' does not work?
Current License: CC BY-SA 4.0
5 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Mar 5, 2020 at 16:53 | comment | added | Chris Henry | Even if PPID is not 1, it's still worth checking what the parent process is and what other processes it's ancestral to, with ps -ef | grep N where N is the PPID in question. This is a good idea in general, more so since the introduction of subreapers (back in 2012), and most of all if you're using a distribution that uses systemd. | |
| Dec 4, 2018 at 3:18 | history | edited | lepe | CC BY-SA 4.0 | added note |
| Jan 21, 2014 at 11:21 | comment | added | Stephanie | Sending SIGCHLD to the parent process may cause the parent to recognize the process has died. This should work even when the PPID = 1. This is normally sent by the kernel, but can be sent with to the parent via kill as well (kill -17 on Linux, check the manpages on other *nix). This usage of kill will not actually "kill" the parent, but rather (re)informs it that a child has died and needs to be cleaned up. Note that sigchld has to be sent to the parent of the zombie, not the zombie itself. | |
| Oct 8, 2013 at 8:50 | review | First posts | |||
| Oct 8, 2013 at 8:51 | |||||
| Oct 8, 2013 at 8:32 | history | answered | lepe | CC BY-SA 3.0 |