Zombie process in Operating Systems
When a Parent process creates child process, at the time of termination it calls a system call wait();
If a parent process terminates itself without calling wait();
This means the OS deallocated the resources to the child process but it's entry in the process table remains.
So, this is a Orphan process and it's called Zombie process.
Solution of Zombie Process
Linux & UNIX OS address this process by assigning the init process as new parent to the child process.
And this invokes wait(); for it.
The entry table releases the entry of that zombie process.
Init - root process in UNIX & Linux hierarchy
Top comments (0)