psmisc icon indicating copy to clipboard operation
psmisc copied to clipboard

Prevent defunct processes from being killed

Open ghost opened this issue 7 years ago • 2 comments

When a parent process gets defunct, its children processes gets assigned to pid 0 as a new parent. So when fuser checks for which pid use port number on one of those processes, the returned pid is 0. Which may kill the whole system abruptly. This fix prevents from killing pid 0.

ghost avatar Aug 31 '18 19:08 ghost

Is this the correct repo where to contribute ?

ghost avatar Sep 03 '18 16:09 ghost

Is this the correct repo where to contribute ?

no, https://gitlab.com/psmisc/psmisc

dopstar avatar Mar 30 '24 13:03 dopstar