The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
zombie process jeenat Linux 5 03-28-2008 07:36 AM
zombie processes and hung process termination ukndoit Shell Programming and Scripting 2 03-14-2008 02:53 AM
how to handle a zombie process mridula High Level Programming 1 12-06-2005 05:47 PM
zombie daemon process!! rish2005 UNIX for Advanced & Expert Users 1 11-25-2005 09:59 AM
Zombie process swhitney UNIX for Advanced & Expert Users 2 10-22-2004 05:12 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 04-25-2002
orca orca is offline
Registered User
  
 

Join Date: Apr 2002
Location: wichita, ks
Posts: 8
Question Zombie process

How do i kill a zombie process. Is it that only root can kill a zombie process.
  #2 (permalink)  
Old 04-25-2002
isacs isacs is offline
Registered User
  
 

Join Date: Mar 2002
Location: Muenster - Germany
Posts: 22
Could you plz explane what is/you meant with "zombie process"

Normaly a user can kill his own process via kill -9 and root is able to kill all processes, am I right?

BRGDS,

Frank
  #3 (permalink)  
Old 04-25-2002
orca orca is offline
Registered User
  
 

Join Date: Apr 2002
Location: wichita, ks
Posts: 8
zombie

i think when we use "top" if the particular process does not have a tty ( other than the root) it sometimes shows up as a zombie process.
regs
amit
  #4 (permalink)  
Old 04-25-2002
orca orca is offline
Registered User
  
 

Join Date: Apr 2002
Location: wichita, ks
Posts: 8
zombie

i found a better explianation from http://www.erlenstar.demon.co.uk/unix/faq_2.html#SEC13

*****************
When a program forks and the child finishes before the parent, the kernel still keeps some of its information about the child in case the parent might need it -- for example, the parent may need to check the child's exit status. To be able to get this information, the parent calls wait(); when this happens, the kernel can discard the information.

In the interval between the child terminating and the parent calling wait(), the child is said to be a `zombie'. (If you do `ps', the child will have a `Z' in its status field to indicate this.) Even though it's not running, it's still taking up an entry in the process table. (It consumes no other resources, but some utilities may show bogus figures for e.g. CPU usage; this is because some parts of the process table entry have been overlaid by accounting info to save space.)
*************
regs
  #5 (permalink)  
Old 04-25-2002
isacs isacs is offline
Registered User
  
 

Join Date: Mar 2002
Location: Muenster - Germany
Posts: 22
Ok, I got this! thx

So for what case it makes sence to kill a "Z"-process?
If I got it right it will only appear a short while, won´t it?

frank
  #6 (permalink)  
Old 04-25-2002
hassan2 hassan2 is offline Forum Advisor  
Registered User
  
 

Join Date: Mar 2002
Location: London, England
Posts: 262
Wink Zombie Process

you can kill a zombie process by killing the parent process. this is done by issuing
kill -18 PPID or by rebooting your system
will clean up any zombie process.
  #7 (permalink)  
Old 04-26-2002
Kelam_Magnus's Avatar
Kelam_Magnus Kelam_Magnus is offline Forum Advisor  
Registered User
  
 

Join Date: Aug 2001
Location: DFW McKinney, TX,
Posts: 1,069
Usually, but not necessarily true

Not all Zombies can be killed. (pun intended)

Occasionally, these processes are in such a state that the only way to get rid of them is to reboot to clear them.

In most cases, you can get rid of a zombie by normal means, "kill -15 zombie", "kill -9 zombie".

I had a good case a few weeks ago that required me to reboot to get rid of zombies...



Sponsored Links
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 05:16 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0