SUSE Support

Here When You Need Us

Analysing processes in D state (uninterruptable sleep)

This document (7010495) is provided subject to the disclaimer at the end of this document.

Environment

SUSE Linux Enterprise Server 11 SP2
SUSE Linux Enterprise Server 11 SP11
SUSE Linux Enterprise Server 11
 

Situation

One or several processes are in D state, also called uninterruptable sleep. In some cases this doesn't affect the system's performance or behavior, but sometimes it leads to high load and/or bad performance.

Resolution

There are two ways to find more about the processes in D state.

1. ps -eo ppid,pid,user,stat,pcpu,comm,wchan:32
This prints a list of all processes where in the last column either a '-' is displayed when the process is running or the name of the kernel function in which the process is sleeping if the process is currently sleeping. This includes also processes which are interruptible. Processes that are in uninterruptible sleep can be determined via the fourth column which would then show a D.

2. echo w > /proc/sysrq-trigger
This command produces a report and a list of all processes in D state and a full kernel stack trace to /var/log/messages. This shows much more information than the first option described above.

Disclaimer

This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.

  • Document ID:7010495
  • Creation Date: 20-Jul-2012
  • Modified Date:10-Mar-2021
    • SUSE Linux Enterprise Server

< Back to Support Search

For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com

SUSE Support Forums

Get your questions answered by experienced Sys Ops or interact with other SUSE community experts.

Support Resources

Learn how to get the most from the technical support you receive with your SUSE Subscription, Premium Support, Academic Program, or Partner Program.

Open an Incident

Open an incident with SUSE Technical Support, manage your subscriptions, download patches, or manage user access.