Read three things first
Load average shows 1, 5 and 15 minute values; compare against core count. A load of 8 on 8 cores means fully saturated.
vmstat 1 shows wa (IO wait) and si/so (swapping). Sustained wa means the disk cannot keep up; non-zero si/so means memory pressure.
Find the process
Filter for D state in top. Those processes are blocked in IO, cannot be killed, and only resolve when the underlying problem does.
iotop identifies which process is driving reads and writes. When the culprit is the database, look for slow queries or bulk writes.
Common root causes
Disk throughput ceiling: cloud disks have IOPS limits, and burst credits run out. Upgrade or optimise access patterns.
Insufficient memory: add RAM or reduce cache footprint. Swap cannot carry a production load.
Failing disk: dmesg shows IO errors, and cloud monitoring exposes latency spikes.
FAQ
What load is considered high?
Relative to cores. Sustained load above the core count deserves attention; above twice the core count usually indicates a real bottleneck.
Can D state processes be killed?
Not with a normal kill. They are blocked in kernel IO. Fix the IO problem or restart the instance.
I added CPU but nothing improved. Why?
The bottleneck is not CPU. Adding cores does nothing for IO or memory limits.
Related questions
Further reading
Sources & References
The following are public sources. Always check the latest requirements on the official authority or platform page.
