Skip to content

Linux load average explained — and how to triage a high-load server

What the 1/5/15-minute load average numbers actually measure on Linux, why load can be high while the CPU sits idle, how to normalize by core count, and a step-by-step triage to tell a CPU hog from I/O wait or a D-state pileup.

A load average of 12 tells you almost nothing on its own. On a 16-core box it is comfortable; on a 4-core box it means work is piling up faster than the machine can clear it. And the number counts more than CPU demand: Linux includes tasks stuck in uninterruptible sleep — almost always disk or network I/O — so load can climb to 30 while top shows the CPU 95% idle. This guide explains exactly what the three numbers measure, how to normalize them by core count, and then walks a repeatable triage that separates a CPU hog from an I/O-wait problem from a D-state storage pileup, using uptime, vmstat, mpstat, iostat, ps, and pidstat. Every command below is shown with representative output so you know what a healthy versus an unhealthy reading looks like.

What you’ll accomplish

By the end you will be able to look at a high-load host and name the bottleneck subsystem in under two minutes.

  • Read the 1/5/15-minute averages as a trend, not a verdict, and normalize by nproc.
  • Distinguish CPU-bound load (high %us/%sy, tasks in R state) from I/O-bound load (high %wa, tasks in D state).
  • Point at the exact device or process responsible with iostat -xz, ps, and pidstat.
  • Recognize the case where CPU is idle and I/O is quiet but load is still high — a run-queue or context-switch problem.
  • Decide whether the fix is your machine’s or belongs upstream in storage, NFS, or a noisy neighbor.

Prerequisites

  • A Linux host you can SSH into with a shell. Root or sudo is not required to read most of these tools, but pidstat -d per-process I/O accounting needs read access to /proc, which non-root users have for their own processes only — run the per-process I/O steps as root for a full picture.
  • The sysstat package, which provides mpstat, iostat, and pidstat. On Debian/Ubuntu: apt install sysstat. On RHEL/AlmaLinux/Rocky: dnf install sysstat. uptime, top, vmstat, and ps come from procps-ng and are present on every modern distribution.
  • Examples use a modern kernel (6.x) and procps-ng. Column layouts differ slightly on older procps and on iostat before sysstat 12 (older versions print avgqu-sz/await where newer print aqu-sz/r_await/w_await). The interpretation is the same; only the labels moved.
  • A note on macOS and BSD: their load average counts runnable tasks only and excludes uninterruptible sleep. The I/O-wait behavior described here is Linux-specific.

How it works

On Linux the load average is a moving average of the number of tasks that are either runnable (in R state, using or waiting for the CPU) or in uninterruptible sleep (D state, almost always blocked on disk or network I/O). That second category is why Linux load differs from a plain CPU-queue length: a machine with an idle CPU but a slow NFS mount can show a load of 20 because twenty processes are all sitting in D waiting for the mount to respond.

The three numbers are exponentially damped averages over roughly the last 1, 5, and 15 minutes. Read them as a direction: 1min > 5min > 15min means load is rising right now; the reverse means a spike is draining away. A single high number frozen in a screenshot cannot tell you which.

Normalization is the step most people skip. Divide each figure by the CPU count from nproc. A per-core value near 1.0 means the machine is fully committed with little queuing; comfortably below 1.0 means headroom; well above 1.0 means tasks are waiting. Load 8 on 8 cores is a fully-used but healthy box; load 8 on 2 cores is a four-deep queue.

Once you know the load is genuinely above one-per-core, the triage is a decision tree: high user/system CPU means CPU-bound, high I/O-wait or a D-state pileup means I/O-bound, and neither means you look at the run queue and context switches directly. The diagram maps each branch to the tool that confirms it.

Decision tree mapping high load to CPU-bound, I/O-bound, or run-queue branches, each with the confirming command

Step-by-step

  1. Read the raw numbers and the core count together. Start with uptime, then get the CPU count so you can normalize.
uptime
nproc

Representative output:

 14:22:07 up 9 days,  3:11,  2 users,  load average: 11.84, 9.02, 6.71
8

Load 11.84 over 8 cores is about 1.48 per core, and rising (11.84 > 9.02 > 6.71). The machine is over-committed and getting worse — worth investigating. cat /proc/loadavg gives the same three numbers plus a running/total task count and the last PID, which is handy in scripts.

  1. Split CPU time into user, system, and I/O-wait. vmstat 1 prints one line per second; ignore the first line (an average since boot) and read the steady state.
vmstat 1 5
procs -----------memory---------- ---swap-- -----io---- -system-- -------cpu-------
 r  b   swpd   free   buff  cache   si   so    bi    bo   in   cs us sy id wa st gu
 9  0      0 512340  18820 2103500    0    0     4    18  620 1180 78 14  8  0  0  0
10  0      0 511980  18820 2103620    0    0     0     0  590 1090 80 12  8  0  0  0
 9  1      0 511760  18820 2103700    0    0     0     8  610 1155 79 13  8  0  0  0

Here r (run-queue length) is 9–10, us is ~79%, sy ~13%, and wa (I/O-wait) is 0. High user CPU with a deep run queue and no I/O-wait is the signature of a CPU-bound host. If instead you saw wa at 40–60% and r low while b (blocked/uninterruptible) climbed, that would point at I/O.

  1. Confirm which CPUs are hot and where the time goes. mpstat -P ALL 1 breaks the aggregate down per core, so you can tell a single-threaded hog (one core pinned, the rest idle) from a genuinely saturated box.
mpstat -P ALL 1 1
02:22:41 PM  CPU    %usr   %nice    %sys %iowait    %irq   %soft  %idle
02:22:42 PM  all   78.31    0.00   13.40    0.00    0.00    0.62    7.67
02:22:42 PM    0   99.01    0.00    0.99    0.00    0.00    0.00    0.00
02:22:42 PM    1   76.24    0.00   15.84    0.00    0.00    0.99    6.93
02:22:42 PM    2   74.26    0.00   14.85    0.00    0.00    0.99    9.90
02:22:42 PM    3   80.20    0.00   12.87    0.00    0.00    0.00    6.93

Low %iowait across every core confirms this is not storage. High %usr on all cores says the work is real compute demand, not one runaway thread.

  1. Find the CPU hog process. Sort top by CPU non-interactively, or use pidstat for a clean per-process CPU rate.
pidstat 1 1
02:23:10 PM   UID       PID    %usr %system  %guest   %wait    %CPU   CPU  Command
02:23:11 PM  1000     48120   380.0    22.0    0.00    1.00   402.0     3  render-worker
02:23:11 PM  1000     48155    41.0     3.0    0.00    0.00    44.0     1  render-worker

%CPU above 100 means a multi-threaded process using more than one core. That render-worker at 402% is the load. On the CPU-bound branch you are done: the fix is to throttle, reschedule, or scale out that workload.

  1. When I/O-wait is the story, read the disks. If vmstat showed high wa and a growing b column, switch to iostat -xz 1. The -z flag hides idle devices; skip the first block (since-boot average).
iostat -xz 1 3
Device    r/s     w/s   rMB/s   wMB/s  rrqm/s  wrqm/s  r_await  w_await  aqu-sz  %util
nvme0n1  12.0  1840.0    0.19   118.4     0.0   240.0     1.20    68.40   142.6   99.8

%util near 100, w_await of 68 ms, and an average queue depth (aqu-sz) of 142 mean this device is saturated and requests are stacking up. That is an I/O-bound host: the load is high because processes are parked in D waiting on this disk.

  1. List the processes stuck in D state. Confirm the pileup and see who is blocked. ps with a state filter shows both runnable (R) and uninterruptible-sleep (D) tasks.
ps -eo state,pid,comm,wchan | awk '$1=="R" || $1=="D"'
D 48210 mysqld              wait_on_bit
D 48377 mysqld              wait_on_bit
D 48512 rsync               folio_wait_bit
R 48120 render-worker       -

Several mysqld threads in D on the same host as a running rsync is a classic pattern: the backup is saturating the disk and the database is starving. The wchan column names the kernel function each task is blocked in.

  1. Attribute the I/O to a process. pidstat -d 1 reports per-process read/write rates and, on modern kernels, delay accounting.
pidstat -d 1 1
02:24:02 PM   UID       PID   kB_rd/s   kB_wr/s kB_ccwr/s iodelay  Command
02:24:03 PM     0     48512      8.0  112480.0       0.0     820  rsync
02:24:03 PM   999     48210    240.0     620.0       0.0    1180  mysqld

rsync is writing ~110 MB/s while mysqld shows a high iodelay — the backup is the cause, the database is the victim. Now you know exactly what to pause or ionice.

Validate it works

Run the triage end to end and confirm your conclusion holds across two independent tools. For a CPU-bound diagnosis, vmstat 1 should show us+sy high with wa near zero and mpstat -P ALL should show the busy cores at low %iowait; pidstat 1 should name a process whose %CPU roughly accounts for the run-queue length. For an I/O-bound diagnosis, vmstat 1 should show high wa and iostat -xz 1 should show a device at high %util with rising await, and ps should list D-state tasks blocked on that subsystem. When two tools from different angles agree, the diagnosis is sound. If they disagree — high %util but no D-state tasks and low await — you have a device that looks busy but is not the bottleneck, and you keep looking.

Troubleshooting

  • Load is high but CPU is idle and disks are quiet. Check vmstat’s cs (context switches) and in (interrupts) columns and the r run-queue count. A context-switch storm (tens of thousands per second) from too many threads thrashing the scheduler raises load without pinning any one core. pidstat -w 1 shows per-process voluntary and involuntary switches.
  • iostat shows 100% %util but performance is fine. On SSD and NVMe, %util measures whether the queue was non-empty, not how close the device is to its ceiling — these devices serve many requests in parallel. Trust await and aqu-sz instead; a low await with 100% %util is a healthy, busy device. See reading iostat -x correctly for the column-by-column detail.
  • A single D-state process never clears. A task wedged in D for minutes is usually blocked on an unresponsive mount (NFS, a stalled iSCSI target) or failing hardware. It cannot be killed with SIGKILL because it is in uninterruptible sleep. Check dmesg for I/O errors and the mount’s health before assuming the process is at fault.
  • Load spikes every night at the same time. Correlate with cron. Backups, log rotation, and updatedb/mlocate runs all drive I/O-bound load. The triage will show rsync, tar, or gzip in D state — move the job, ionice -c3 it, or throttle it rather than chasing the symptom.
  • High st (steal) in vmstat or mpstat. On a VM, steal time is CPU the hypervisor gave to another tenant. Your load is real but the cause is off-box: a noisy neighbor or an over-committed host. No amount of in-guest tuning fixes it; the fix is more vCPU allocation or a less crowded host.

When this is the wrong approach

Load average is a triage signal, not a monitoring KPI. Do not alert on a raw load threshold — a load of 20 is fine on a 32-core box and a crisis on a dual-core one, so any static threshold is wrong for most of your fleet. Alert on normalized load (per-core) plus the underlying symptom (latency, %iowait, saturation) instead. Load is also a poor fit for latency-sensitive request paths: a web tier can have low load and terrible p99 latency because the bottleneck is a downstream database or lock, which load average never sees. And if you already know the workload is memory-pressured — swapping — start with free, vmstat’s si/so, and PSI (/proc/pressure/*) rather than load; see tuning swap and swappiness. For the authoritative definitions, the uptime man page and the vmstat man page document every field referenced here.

If this is the kind of work you’d rather never own again, it’s the daily job of Managed Cloud Ops — book an infrastructure review.