Unix Technical Forum

What to do with defunct process?

This is a discussion on What to do with defunct process? within the HP-UX Operating System forums, part of the Unix Operating Systems category; --> We have HP/UX PA/RISC 11.11. Currently we see about 10 processes in defunct process. "kill -9" is not doing ...


Go Back   Unix Technical Forum > Unix Operating Systems > HP-UX Operating System

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-17-2008, 05:35 AM
Forte Agent
 
Posts: n/a
Default What to do with defunct process?



We have HP/UX PA/RISC 11.11. Currently we see about 10 processes in
defunct process. "kill -9" is not doing anything. What should we do?
Thank you in advance.


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-17-2008, 05:35 AM
Stefaan A Eeckels
 
Posts: n/a
Default Re: What to do with defunct process?

On Wed, 30 Aug 2006 19:36:13 -0400
Forte Agent <robertch@newscat.com> wrote:

> We have HP/UX PA/RISC 11.11. Currently we see about 10 processes in
> defunct process. "kill -9" is not doing anything. What should we do?


Zombie ("defunct" in ps) processes are caused by programs that are
forking but do not call wait() or waitpid(). You cannot kill such
processes, as they aren't running. The only resource they use is a slot
in the process table. They will disappear when the parent process
terminates (they are inherited by init who _will_ wait for them).

The solution is to fix the program.

--
Stefaan A Eeckels
--
The only statistics you can trust are those you falsified yourself.
-- Winston Churchill
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 05:52 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com