Linux orphan process and zombie process

Source: Internet
Author: User
Orphan process and Zombie process: if the parent process exits first and the child process does not exit then the parent process of the child process becomes the INIT process (any process has a parent process) if the child process exits first and the parent process does not exit, the child process must wait until the parent process captures the exit state of the child process to really end,    Otherwise, this time the subprocess becomes a zombie process. If the parent process ends first, the child process Tuogu to the number 1th process how to avoid the zombie process? is because the parent process did not give the child process corpse, how to solve this problem. When the parent process then creates the child process, it uses Singal (sigchild,sig_ing) to tell the kernel whether the child process's life cycle or not.
This article source: Http://blog.csdn.net/andywuchuanlong

Linux orphan process and zombie process

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.