SECURITY WARNING: Never run commands you don't understand. Always review code before execution. Use at your own risk.
Performance New Added 19 September 2026

High iowait: load average climbing while the CPU sits idle

Linux counts tasks in uninterruptible sleep towards the load average, so processes blocked on a disk or an NFS mount push load into double figures on a box that is 95 per cent idle. The number sends people hunting for a CPU problem that does not exist, when the queue is in front of a device.

Quick fix

Read the commands before running them. Anything that restarts a service, deletes data or changes permissions should be tried on a non-production system first.

Quick fix
# Load counts D state, so read the state column before believing the number
ps -eo state,pid,comm,wchan | awk '$1 ~ /D/'

# Per device: %util near 100 with a high await is a saturated device
vmstat 1 5
iostat -xz 1 5

# Which processes are issuing the I/O
pidstat -d 1 5
sudo iotop -oPa

# Pressure stall information separates "some tasks waited" from "everything stalled"
cat /proc/pressure/io

# A network filesystem in D state is a server problem, not a disk one
mount | grep -E 'nfs|cifs'
nfsstat -c | head -20

# The kernel stack of one stuck task names the layer it is waiting on
sudo cat /proc/<pid>/stack

How to diagnose Performance errors

Performance failures rarely produce an error message. They produce timeouts elsewhere. The three classic causes are stop-the-world garbage collection, thread pool starvation (all workers blocked on I/O so new requests queue), and event loop blocking in single-threaded runtimes. All three look identical from outside: latency climbs, then upstream timeouts fire. Distinguishing them requires looking inside the process.

If the quick fix above does not resolve it, work through these steps. They apply to this whole class of error, not just to this one message, which is usually what saves the time.

  1. Measure the p99, not the mean. Averages hide exactly the pauses that cause timeouts.
  2. For the JVM, enable GC logging (-Xlog:gc*) and correlate pause durations with latency spikes before tuning anything.
  3. For thread pools, log active versus queued task counts. A queue that grows while CPU is idle is starvation, and the fix is asynchronous I/O, not more threads.
  4. In Node.js, measure event loop lag directly (perf_hooks.monitorEventLoopDelay). Any synchronous work over a few milliseconds per request will show up here.
  5. Profile before optimising. pprof, async-profiler, py-spy and Chrome's profiler all point at the real hot path, which is rarely where intuition suggests.

Tools worth reaching for

  • async-profiler
  • go tool pprof
  • py-spy
  • perf_hooks.monitorEventLoopDelay
  • -Xlog:gc*

Authoritative references

Primary documentation for this error, worth reading before applying any fix in production.

man7.org docs.kernel.org

Related Performance errors

See all 9 Performance errors →

Browse other categories

Something missing or wrong?

This entry is maintained by hand. If the fix is out of date, incomplete, or you have a better one, email a correction and it will be reviewed.