Which technique does the Unix system use to remove zombie processes whose parent has terminated?
How are zombie processes handled when the parent dies?
process;zombie process
When a process's parent dies, init (process 1) adopts the process. It will then reap adopted precesses that are or become zombies.Reaping is normally done by the parent, as the parent needs to know when the child dies. It also has to stop the pid of the child being reused, until the parent knows, so that the parent does not signal the wrong process (signals the correct pid, but the pid now belongs to a new process.). In the reaping process the parent should forget about the child. 