• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1180
  • 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
Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Amazon Web Services - Basic

Are you thinking about creating an Amazon Web Services account for your business? Not sure where to start? In this course you’ll get an overview of the history of AWS and take a tour of their user interface.

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