zjffdu
zjffdu

Reputation: 28954

Can not kill process by kill -9?

I try to kill process by using command "kill -9 pid", but can not succeed. Anybody know how could I kill such process and why I can't kill it ?

Upvotes: 0

Views: 1493

Answers (2)

glglgl
glglgl

Reputation: 91159

If your process is in an uninterruptable sleep (D) due to hanging in some hardware access, you indeed cannot terminate that process.

Here is another explanation.

Personally, I saw such D states for example when accessing files on a SD card or USB stick when there was a hardware problem. But there are many other scenarios where such a state might occur.

Upvotes: 1

Randolf
Randolf

Reputation: 125

The process could be zombie? Its good to check process state using ps command as well if you have permission.

Upvotes: 1

Related Questions