当前位置:网站首页>Zombie and orphan processes
Zombie and orphan processes
2022-08-05 00:22:00 【~ Pompeii】
Zombie and orphan processes
- We know that in unix/linux, under normal circumstances, the child process is created by the parent process, and the child process is creating a new process.The termination of the child process and the running of the parent process are an asynchronous process, that is, the parent process can never predict when the child process will end.When a process finishes its work and terminates, its parent process needs to call the wait() or waitpid() system call to obtain the termination status of the child process.
- Orphan process: A parent process exits while one or more of its child processes are still running, then those child processes will become orphaned.The orphan process will be adopted by the init process (process number 1), and the init process will complete the state collection work for them.
- Zombie process: A process uses fork to create a child process. If the child process exits and the parent process does not call wait or waitpid to obtain the status information of the child process, the process descriptor of the child process is still stored in the system.Such processes are called zombie processes.
边栏推荐
- About I double-checked and reviewed the About staff page, returning an industry question
- [LeetCode] Summary of Matrix Simulation Related Topics
- 00、数组及字符串常用的 API(详细剖析)
- "Relish Podcast" #397 The factory manager is here: How to use technology to empower the law?
- leetcode:269. 火星词典
- what?测试/开发程序员要被淘汰了?年龄40被砍到了32?一瞬间,有点缓不过神来......
- 关于我仔细检查审核过关于工作人员页面,返回一个所属行业问题
- 【数据挖掘概论】数据挖掘的简单描述
- oracle创建表空间
- 测试经理要不要做测试执行?
猜你喜欢
随机推荐
Mysql based
【论文笔记】—低照度图像增强—Unsupervised—EnlightenGAN—2019-TIP
2022 Hangzhou Electric Multi-School 1004 Ball
Three tips for you to successfully get started with 3D modeling
Handwritten Distributed Configuration Center (1)
tensor.nozero(), mask, [mask]
仿网易云音乐小程序-uniapp
STC89C52RC的P4口的应用问题
oracle创建用户以后的权限问题
leetcode:267. 回文排列 II
10 种常见的BUG分类
软件测试面试题:做好测试计划的关键是什么?
TinyMCE disable escape
软件测试面试题:黑盒测试、白盒测试以及单元测试、集成测试、系统测试、验收测试的区别与联系?
The applicable scenarios and common product types of the KT148A electronic voice chip ic solution
tiup telemetry
IDEA file encoding modification
软件测试面试题:您如何看待软件过程改进?在您曾经工作过的企业中,是否有一些需要改进的东西呢?您期望的理想的测试人员的工作环境是怎样的?
电赛必备技能___定时ADC+DMA+串口通信
电子行业MES管理系统的主要功能与用途








