What Is a Zombie Process?
A zombie process is when the child process ends before the parent process, and the parent process does not recycle the child process, releasing the resources occupied by the child process. At this time, the child process will become a zombie process. If the parent process exits first, the child process is taken over by init. After the child process exits, init will reclaim the related resources it occupied.