[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1100
  • Last Modified:

Killed processes in state D - uninterruptible sleep (usually IO)

I've just killed a daemon with SIGTERM and then after a few minutes of no response killed it again brutally with SIGKILL. I can see its thread in my `ps x` listing all with in state D, which my man page tells me is uninterruptible sleep (usually IO). The daemon is home-grown, and has been well behaved for the last few months.

Any suggestions what I should be looking at to get to the bottom of the problem?
0
rstaveley
Asked:
rstaveley
  • 3
  • 2
2 Solutions
 
bobgunzelCommented:
Uninterruptible sleep issues are usually connected with SMP kernels or buggy drivers for (new) hardware.
By the way, it's not the daemon that gets hung, but the shared resource it tries to use.
0
 
ravenplCommented:
You can't kill (send any signal) to task in D state. It's uninterruptible ;)
Hence the signal was notices, and will be served as soon as the task will go out from D state.

And bobgunzel is right - it's not Your daemon is buggy - it's propably hardware failure.
check output from  'dmesg' command if kerney says something about it.
0
 
rstaveleyAuthor Commented:
It is a standard kernel and standard hardware (+drivers). I guess I should just wait and see if it happens again.
0
Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

 
rstaveleyAuthor Commented:
> dmesg

After the reboot? It has already been rebooted. Are the messages from the previous boot preserved?
0
 
ravenplCommented:
sometimes /var/log/dmesg
0
 
rstaveleyAuthor Commented:
I'm none the wiser from /var/log/messages. I'll just have to see if it happens again. Thanks for the help, chaps.
0

Featured Post

Upgrade your Question Security!

Add Premium security features to your question to ensure its privacy or anonymity. Learn more about your ability to control Question Security today.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now