A server shows load average 40 on 8 cores, but `top` shows CPU 60% idle and the app is crawling.
BeginnerTroubleshootingDisk, memory and CPU
Answer
Likely causes → Load average on Linux counts processes in uninterruptible sleep (state D), usually blocked on disk or NFS I/O, not only runnable processes. The CPU is idle because everything is waiting on storage.
Diagnose →
vmstat 1 5 # high "wa" and "b" columns
iostat -xz 1 3 # %util near 100, high await on one device
ps -eo state,pid,cmd | awk '$1=="D"'
sudo iotop -oPa
Fix → Find the I/O hog (a backup, a runaway log, a big query) and stop or throttle it (ionice -c3). If it's an unreachable NFS mount, fix or lazily unmount it.
Prevent → Move heavy batch I/O off the request-serving volume, provision enough IOPS, and alert on node_disk_io_time_seconds_total and I/O wait.
More on Disk, memory and CPU
The app fails to write with "No space left on device", but `df -h` shows the volume is only 40% used.Beginner`df -h` says `/` is 100% full, but `du -sh /*` only adds up to 30% of the disk.BeginnerPods are being evicted with "The node was low on resource: ephemeral-storage. Container app was using 18Gi, which exceeds its request of 0."IntermediateCI build agents running Docker fail with "no space left on device" while pulling images; `/var/lib/docker` is 95% full.IntermediatePostgres on a VM died overnight; `dmesg` shows "Out of memory: Killed process 2314 (postgres) total-vm:..., anon-rss:...".IntermediateA Java pod keeps getting OOMKilled at its 2Gi limit, even though `-Xmx2g` is set and the heap graph never reaches 2 GB.Intermediate