EmbLogic's Blog

Zombie or Defunct Process

Zombie or Defunct Process
If a child proces tries to teminate,its association with parent remains until the parent terminates normally or calls wait.
- The child process entry in process table is therfore not freed up immediately.
- Althougth the process is no longer active, the child remains still in system because its exit code is needed to be stored in case of parent subsequently

calls wait.
- The process becomes defunct or zombie process.
- It is shown by ‘Z’ or ‘Z+’ in process table.

- If the parent is terminated abnormally, the zombie child process will not be terminated (which is not good).

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>