On Mon, 17 Jan 2005, Vinayak Hegde wrote:
On Mon, 17 Jan 2005 09:04:52 +0000 (GMT), crisppy f linuxbee2001@yahoo.co.in wrote: [snip]
hi once again i am clear abt my ques???? so i repeat... i have to kill zombie process which is hanging around in process listing. but i am not able to kill it(means kill 9 23234 is not wrking). i need to do it becoz somewhere its not allowing me to start the same type of application again.
In repeat my answer again. A zombie process is just a process table entry and a process which is dead quite some time ago. so $ kill -9 $pid will not work.
You need to fix the badly written application. Fix the disease and not the symptom.
I disagree with you. Its not that if an application is resulting in a zombie process, its a bad application. As far as I remember zombies are used for accounting purposes etc. Child process want parent to note down some information about the child before it dies, so it enters zombie state by leaving a record containing an exit code and some statistics for its parent to collect. The parent on the exit, notes down the info and send a signal to the init so that it will remove the zombie entry in the process table.
I think one of the ways to kill zombie is to kill the parent process.
PS: I do not know much about zombie and I didn't follow this thread. I had just gone through this mail.
Thanks & Regards, -- Rajendra Prasad Murakonda, ETU division, C-DAC Mumbai (erstWhile NCST). Off Phone : 91 22 27565303 extn : 302 Mobile(WLL) : 0 93235 83185 rajncst@yahoo.co.in , rajendra.prasad@gmail.com