Zombie Process and Orphan Process

preview_player
Показать описание
What are zombie and orphan processes?
Answer: When a parent processes creates a child process using fork() but doesnt call wait() and the child process calls exit() and terminates, in such a case, the exit status returned by child will not be caught by parent and hence the entry of such child processes will not be removed from the process table. Such processes are termed ZOMBIE processes.
If parent doesnt call wait() and also terminates by calling exit(), whereas the child is still executing, then such a process becomes ORPHAN.

Рекомендации по теме
Комментарии
Автор

after watching so many videos, I was scratching my head. but suddenly got this video. what a clear in-depth explanation....you got a new subscriber. Thanks for the video.!!!!

PavankumarHedge-xwnx
Автор

love your content sir more videos should be made sir for the sure

SahilKumar-yxev
Автор

best video I have seen on zombie and orphans process ❤

anuragsikarwar
Автор

Thank you so much for the video, made this concept very clear and easy to understand

fatherlessbehavior
Автор

very good vid, just one note; a child process should normally call _exit() and not exit()

kevinzebb