当前位置:网站首页>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.
边栏推荐
- 软件测试面试题:您如何看待软件过程改进?在您曾经工作过的企业中,是否有一些需要改进的东西呢?您期望的理想的测试人员的工作环境是怎样的?
- 2022杭电多校第三场 L题 Two Permutations
- IDEA file encoding modification
- Raw and scan of gorm
- 2 用D435i运行VINS-fusion
- Flask框架 根据源码分析可扩展点
- Couple Holding Hands [Greedy & Abstract]
- 【unity编译器扩展之模型动画拷贝】
- 日志(logging模块)
- "Relish Podcast" #397 The factory manager is here: How to use technology to empower the law?
猜你喜欢
Huggingface入门篇 II (QA)
【云原生--Kubernetes】调度约束
node使用redis
【LeetCode】双指针题解汇总
could not build server_names_hash, you should increase server_names_hash_bucket_size: 32
Will domestic websites use Hong Kong servers be blocked?
【idea】idea配置sql格式化
电子行业MES管理系统的主要功能与用途
【LeetCode】滑动窗口题解汇总
[230]连接Redis后执行命令错误 MISCONF Redis is configured to save RDB snapshots
随机推荐
动态上传jar包热部署
[Cloud Native--Kubernetes] Pod Controller
软件测试面试题:黑盒测试、白盒测试以及单元测试、集成测试、系统测试、验收测试的区别与联系?
node使用redis
ARC129E Yet Another Minimization 题解 【网络流笔记】
【LeetCode】双指针题解汇总
10 种常见的BUG分类
Three tips for you to successfully get started with 3D modeling
tiup telemetry
2022 Niu Ke Summer Multi-School Training Camp 5 (BCDFGHK)
2022多校第二场 K题 Link with Bracket Sequence I
Mysql_13 事务
Senior game modelers tell newbies, what are the necessary software for game scene modelers?
【unity编译器扩展之模型动画拷贝】
进程间通信和线程间通信
软件测试面试题:LoadRunner 分为哪三个模块?
软件测试面试题:您如何看待软件过程改进?在您曾经工作过的企业中,是否有一些需要改进的东西呢?您期望的理想的测试人员的工作环境是怎样的?
QSunSync 七牛云文件同步工具,批量上传
canvas 高斯模糊效果
QSunSync Qiniu cloud file synchronization tool, batch upload