Skip to content

Troubleshooting guide

High load average on Linux: what it means and how to fix it

Load average counts tasks that are running or waiting. On Linux, that includes tasks blocked on disk, so high load does not necessarily mean a busy CPU.

3 min read10 sectionsUpdated

On this page

Key points

  • Compare load with CPU count, not with a fixed number.
  • Linux load includes uninterruptible I/O wait.
  • High load with idle CPU means disk or NFS trouble.
  • The three numbers show the trend over 1, 5 and 15 minutes.

What load average measures

The three numbers are exponentially weighted averages of tasks that are runnable or in uninterruptible sleep, over one, five and fifteen minutes. A load of 8 on an 8-core machine means, roughly, that demand matches capacity. A load of 8 on 2 cores means tasks are queuing.

If the one-minute number is far above the fifteen-minute number, things are getting worse right now.

Common causes

  • CPU-bound work exceeding the core count.
  • Disk saturation, leaving tasks in D state.
  • A hung NFS mount, where load can reach hundreds while the CPU is idle.
  • Runaway forks or too many threads.
  • Noisy neighbours on shared VMs, shown as CPU steal.

Diagnose it

vmstat quickly separates CPU from I/O: the r column is runnable tasks, b is blocked, wa is I/O wait and st is steal.

bash
# Cores and load
nproc; uptime

# r vs b, and us/sy/wa/st over 5 seconds
vmstat 1 5

# Which disk is busy (from sysstat)
iostat -xz 1 3

# Tasks stuck in uninterruptible sleep
ps -eo state,pid,wchan:20,cmd | awk '$1 ~ /D/' | head

Fixes

If r is high with low idle, find the CPU consumers and profile them: see high CPU usage on Linux. If wa or b is high, find the writer with iotop, and fix the query or batch job behind it, or provision faster disks. If D-state tasks are stuck on NFS, repair the mount or server. High steal means the host is contended, so move to a different instance or a larger size.

Catch it automatically

Normalise by alerting on load per core, and pair it with latency, since a busy server that meets its latency target is fine. Infrastructure monitoring lets you compare hosts side by side, and APM shows which requests slow down when load rises.

Frequently asked questions

What is a good load average?

Consistently below the number of CPU cores is generally healthy, but check latency as well.

Why is load high but CPU idle?

Tasks are waiting for disk or network storage. Linux counts those in load.

Does hyper-threading change the rule?

Somewhat. Logical cores give less than full cores under heavy load, so treat the limit as approximate.

Check it now, free

Watch your own site and services with VitalRix

Uptime checks, APM, logs, real-user monitoring, alerts and status pages in one place. Every product has a free tier and no credit card is needed.