From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <102653647621644.tru64-unix-managers.marc@archive.invalid> From: John Tan Date: Thu, 03 May 2001 04:08:25 +0000 To: tru64-unix-managers Subject: FW: FINAL SUMMARY: Cannot kill processes X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=102653647621644 Oops. I sent to an incorrect address, but did not get a delivery failure message. Sorry ... but I did summarise ... :-) > -----Original Message----- > From: John Tan > Sent: Thursday, May 03, 2001 9:21 AM > To: 'tru-64-unix-managers@ornl.gov' > Subject: FINAL SUMMARY: Cannot kill processes > > Thank you, everybody, for your replies. > > It seems that everyone is of the consensus that there are but two > solutions: > 1. To kill the parent (ie. what I did) > 2. Reboot (which I knew would solve the problem but preferred not to do). > However, this is the only option if the parent process is init (pid 1). > > Apparently, badly written code for the parent process is to blame for such > defunct processes. The parent should wait and receive signals from the > children processes that they are about to die when they are about to die. > If the code for the parent process does not do this, the child processes > become defunct instead. > > > -----Original Message----- > From: John Tan > Sent: Wednesday, May 02, 2001 6:06 PM > To: 'tru-64-unix-managers@ornl.gov' > Subject: SUMMARY: Cannot kill processes > > Silly me. I found an answer after posting, but before anyone replied. > > Kill the parent process ... the children processes died when the parent > was killed. (Not sure if this is always the case ... I know that > processes can orphan sometimes. It worked for me anyway.) > > My problem is gone, but if anyone knows of better solutions, please reply. > I shall summarise for the archive if I get useful contributions. Thanks. > > > -----Original Message----- > From: John Tan > Sent: Wednesday, May 02, 2001 5:46 PM > To: 'tru-64-unix-managers@ornl.gov' > Subject: FW: Cannot kill processes > > Forgot to mention: the state of those processes are "<", which man tells > me means that the process priority are artificially raised. > > -----Original Message----- > From: John Tan > Sent: Wednesday, May 02, 2001 5:40 PM > To: 'tru64-unix-managers@ornl.gov' > Subject: Cannot kill processes > > Could somebody please help me? > > ps -ef finds numerous processes as occupying process slots (has > pid), but kill tells me "no such process". > > How can I get rid of these processes? > > Thanks.