Unkillable KVM processes stuck in "Uninteruptable Sleep" (D) state

I just did some reading on unkillable processes. I've seen this happen a few times before and wondered what caused it. I experienced it again today when using KVM. Apparently when processes go into the "D" state they cannot be killed because they are usually waiting for some IO to complete. I have not found any way to fix these processes while a system is running though I continue to investigate. I did find that the 2.6.25 Linux kernel will add a new TASK_KILLABLE state to help alleviate this problem. Hopefully software including KVM will be quickly updated to take advantage of this new state which functions just like TASK_UNINTERRUPTIBLE but allows the process to be killed.

Trackback URL for this post:

http://hightechsorcery.com/trackback/95
Creative Commons License Except where otherwise noted, content on this site is licensed under a Creative Commons by-nc-sa 3.0 License