Agnus Dei (jackal) wrote,
Agnus Dei
jackal

Process Stuck in an uninterruptible state.

You don't see this very often. A process stuck in an uninterruptible state.

I noticed my server had a load of 5, and only 4 CPUs, so it's queuing.


[root@myhost ~]# uptime
 15:56:31 up 182 days, 11:58,  1 user,  load average: 5.02, 5.06, 5.05
[root@myhost ~]# grep -c proc /proc/cpuinfo 
4



But I also noticed that the CPU is 98% idle. In other words nothing is using up the CPU.  So what's driving up the load?

[root@myhost ~]# top -H -n 1 -b | grep ^Cpu
Cpu(s):  1.3%us,  0.6%sy,  0.0%ni, 98.1%id,  0.0%wa,  0.0%hi,  0.0%si,  0.0%st



So I looked and found that I have a process stuck in an uninterruptible state:

[root@myhost ~]# ps -eo state,pid,cmd | grep "^D"
D 18152 [arping]
[root@myhost ~]# kill -9 18152
[root@myhost ~]# kill -9 18152
[root@myhost ~]# kill -9 18152
[root@myhost ~]# kill -9 18152
[root@myhost ~]# ps -eo state,pid,cmd | grep "^D"
D 18152 [arping]
[root@myhost ~]# 



How to fix: Short answer is you can't. You have no option but to reboot.

http://stackoverflow.com/questions/767551/how-to-stop-uninterruptible-process-on-linux

Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

  • 0 comments