我是靠谱客的博主 震动哈密瓜,最近开发中收集的这篇文章主要介绍python 僵尸进程&孤儿进程,觉得挺不错的,现在分享给大家,希望可以做个参考。

概述

僵尸进程&孤儿进程
On Unix and Unix-like computer operating systems, a zombie process or defunct process is a process that has completed execution (via the exit system call) but still has an entry in the process table: it is a process in the “Terminated state”. This occurs for child processes, where the entry is still needed to allow the parent process to read its child’s exit status: once the exit status is read via the wait system call, the zombie’s entry is removed from the process table and it is said to be “reaped”. A child process always first becomes a zombie before being removed from the resource table. In most cases, under normal system operation zombies are immediately waited on by their parent and then reaped by the system – processes that stay zombies for a long time are generally an error and cause a resource leak.
https://mozillazg.com/2017/07/python-how-to-generate-kill-clean-zombie-process.html?utm_source=tuicool&utm_medium=referral

最后

以上就是震动哈密瓜为你收集整理的python 僵尸进程&孤儿进程的全部内容,希望文章能够帮你解决python 僵尸进程&孤儿进程所遇到的程序开发问题。

如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(42)

评论列表共有 0 条评论

立即
投稿
返回
顶部