A process is called Zombie on following instances
+ If the parent process has missed the completion(SIGCHLD) or exit of the a child process.
+ when the child process has exited but if the entries in the process table is intact.
+ Zombie process is also know as defunct process.
+ Zombie process in certain cases is desirable as the parent process would not allot the same process id to the new child process.
A process becomes Orphan,
+ when a parent process has got completed or terminated, and child process is still alive
+ orphan process is inherited by init, till the completion of orphan process
+ Orphan process results in wasting of resources
No comments:
Post a Comment