What is Zombie Prosess?

Showing Answers 1 - 3 of 3 Answers

Vijayanand

  • Aug 5th, 2005
 

Zombie is a process which is already dead but the parent process hasnt go the intimation.So it is still in the process table with a value z but doesnt consume any resources.You cannot kill zombies.

  Was this answer useful?  Yes

shan

  • Dec 7th, 2005
 

its like orphan process.  incase of orphan, parent exits before child process. so child will not know where to report and will be taken care by init process. zombie process is one that does not exist, but shows in the process table as if it exists.

  Was this answer useful?  Yes

Swaroop kumar dey

  • Apr 27th, 2006
 

On Unix operating systems, a zombie process or defunct process is a process that has completed execution but still has an entry in the process table, allowing the process that started it to read its exit status. In the term's colorful metaphor, the child process has died but has not yet been reaped.

When a process ends, all of the memory and resources associated with it are deallocated so they can be used by other processes. However, the process's entry in the process table remains. The parent is sent a SIGCHLD signal indicating that a child has died; the handler for this signal will typically execute the wait system call, which reads the exit status and removes the zombie. The zombie's process ID and entry in the process table can then be reused.

A zombie process is not the same as an orphan process. Orphan processes don't become zombie processes; instead, they are adopted by init (process ID 1), which waits on its children.

The term zombie process derives from the common definition of zombie?an undead person.

Zombies can be identified in the output from the Unix ps command by the presence of a "Z" in the STAT column. Zombies that exist for more than a short period of time typically indicate a bug in the parent program. As with other leaks, the presence of a few zombies isn't worrisome in itself, but may indicate a problem that would grow serious under heavier loads.

 

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions