Linux Server / Performance, Capacity & Containers
Investigate Linux tasks stuck in uninterruptible wait
A D-state task can reflect blocked storage or another kernel dependency. A force-kill may not complete until that wait resolves.
Environment and inputs: Linux server baseline · Ubuntu 24.04 LTS / RHEL 9-style systems. Use the specified distribution, init system and installed tool; service names, privileges and supported options can differ.
Start with this check
Check the computer, command shell and account permissions. Replace example names, file paths, domains and interfaces with approved values. These commands help investigate the problem. Before making changes, check the rules and the effect on running applications.
ps -eo pid,ppid,stat,wchan:32,comm
What the results mean
The state and wait-channel information provide clues, subject to kernel and permission limits. They are not a definitive stack trace or root-cause label.
Fix the cause and check again
Correlate affected processes with filesystem, device and network-storage errors. Repair the shared dependency and verify that tasks and application requests recover.
Before changing production
Do not assume an unresponsive kill means the process ignored it, or reboot before assessing storage integrity and preserving evidence.