在某些情况下,SIGKILL无法使用? [英] Is there some cases in which SIGKILL will not work?

查看:230
本文介绍了在某些情况下,SIGKILL无法使用?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在任何情况下,没有阻塞信号SIGKILL的Linux上运行的应用程序在触发SIGKILL信号时都不会被杀死吗?

Are there any cases where an application running on Linux, which has not blocked signal SIGKILL, will not get killed on firing SIGKILL signal?

推荐答案

SIGKILL不能被阻止或忽略(SIGSTOP也不能).

SIGKILL cannot be blocked or ignored (SIGSTOP can't either).

如果进程在系统调用内部"被阻塞,则该进程可能对信号无响应(等待I/O是一个示例-等待失败的NFS文件系统的I/O,该NFS文件系统未经选项).

A process can become unresponsive to the signal if it is blocked "inside" a system call (waiting on I/O is one example - waiting on I/O on a failed NFS filesystem that is hard-mounted without the intr option for example).

(另一种情况是僵尸进程,但那时它们还不是真正的进程.)

(Another side case is zombie processes, but they're not really processes at that point.)

这篇关于在某些情况下,SIGKILL无法使用?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆