SUMMARY: kill -9 is NOT working for 'defunc' process!!

Dilip M dilipm_79 at yahoo.com
Fri Aug 1 06:15:03 EDT 2003


Hi,

Thanks to.......
 Ozgur C. Demir  
 Lieven Marchand  
 Martin Schmitt 
 Russell_C_Page
 Johan Hartzenberg  
 Nathan.Jeffrey
 Mike's List  
 Nathan.Jeffrey 
 Richard.Skelton
& *.*

-----------------
My QUESTION WAS
-----------------
i managers,

I'm trying to kill 'defunc' process,by giving a signal 9 but it
fails!!
-------------------------------------------------------------------
# ps -ef|egrep 'PPID|defunc'
     UID   PID  PPID  C    STIME TTY      TIME CMD
  dilipm 28691     1  0                   0:00 <defunct>
    root 28582 28388  0 12:11:10 pts/10   0:00 egrep PPID|defunc
-------------------------------------------------------------------
# kill -9 28691
-------------------------------------------------------------------
# ps -ef|egrep 'PPID|defunc'
     UID   PID  PPID  C    STIME TTY      TIME CMD
  dilipm 28691     1  0                   0:00 <defunct>
    root 28586 28388  0 12:11:50 pts/10   0:00 egrep PPID|defunc
--------------------------------------------------------------------

+++++++++
ANSWER  +
+++++++++

As all suggested we have to kill -09 <defunc-PPID> (Parent Pid) to get rid of
defunc process.
As we see here the PPID is '1' , that is non other than init process,we have to
kill init.that in turn makes system reboot :((

Not advisable to do this on Production box.As all said,there is no big problem
with a few defunct processes as they only use a small amount of system resources.

__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
_______________________________________________
sunmanagers mailing list
sunmanagers at sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



More information about the summaries mailing list