DEV Community

Cover image for Zombie Process in Operating Systems
Coding Hindi
Coding Hindi

Posted on

Zombie Process in Operating Systems

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.

How does HTTPS work?

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

What is Operating System and its 5 Structures?

Top comments (0)