What is the zombie process?

The

zombie process is an instance of a computer program that retains the table process, even though it has completed the implementation. Extinct processes such as these are usually associated with UNIX® and other similar operating systems due to the way they process children's processes. When the child is completed, the parent is usually responsible for removing it from the procedural table. Usually it is not possible to directly remove the zombie process with the command, although the parent can often be made to remove it if the operator uses the signal notification (SIGCHLD). If this failure, the zombie process can be indirectly removed by killing a parent. Extinct processes in UNIX® and similar operating systems can be considered analogous with zombies in maintaining the presence of the process table, although they no longer perform the intended functions. When the process of completing the process is sometimes said that it has died, while the means by which the operating system acquires the allocation table can be known as harvest. Zombie's parental process has technicallyharvest their children, even if it is not always happening.

There are certain cases where the existence of the zombie process can be intentional or even desirable. After the child has terminated, the parent may need to run another instance of the same program later. If the zombies have not been removed from the process table, the new child will not be assigned the same identification (ID) as an old child. Some programs can benefit from this kind of differentiation or even require.

If the parental process has not made a waiting order to reap the zombies for which it is responsible, it may be possible to enforce the problem. This is usually done via the Kill command and sending a SIGCHLDSIGNAL to the superior process. If everything works correctly, the superior process that receives this signal should reap its zombies children to reuse their ID and position of the process table.

In certain circumstances, the IGN parental process canModify Sigchld signal. If this happens and the operator still wants the process table to be cleaned, the parental process can be killed. Any zombies created by the parent process will then be assigned as children to the Init process. Since it initially initiates waiting order for its children, all zombies for which it is responsible will eventually be removed from the process table.

IN OTHER LANGUAGES

Was this article helpful? Thanks for the feedback Thanks for the feedback

How can we help? How can we help?