What is a zombie process and how is it created?

Os Process Management Questions



36 Short 71 Medium 60 Long Answer Questions Question Index

What is a zombie process and how is it created?

A zombie process is a term used in operating systems to refer to a process that has completed its execution but still has an entry in the process table. It is created when a child process finishes its execution, but its parent process fails to collect its exit status. In this case, the child process becomes a zombie process, as it is no longer running but still has an entry in the process table. The zombie process remains in this state until the parent process acknowledges its termination and collects its exit status using the wait system call.