Server Administration

Linux Load Average Explained: How to Read It Correctly

By NileVPS Team · Published · 4 min read

اقرأ المقال بالعربي

Almost every Linux monitoring screen shows three small numbers called the load average. They appear in uptime, top, htop and countless dashboards, yet they are one of the most misread metrics on a server. A load of 4.0 can be perfectly healthy on one machine and a sign of trouble on another. This guide explains what the numbers actually measure, how to compare them to your hardware, and what to do when they climb.

What load average measures

The load average is an exponentially damped moving average of the number of tasks that are either running on a CPU or waiting to run. On Linux there is an important extra detail: it also counts tasks in uninterruptible sleep (state D), which usually means a process is blocked waiting for disk or network storage I/O.

So load is not "CPU usage percent". It is a measure of demand: how many things wanted to make progress at a given moment.

The three numbers represent the average over roughly the last 1, 5 and 15 minutes:

$ uptime
 14:02:11 up 12 days,  3:41,  1 user,  load average: 0.82, 1.15, 0.97

Reading them together tells you the trend:

  • 1-minute higher than 15-minute: load is rising right now.
  • 1-minute lower than 15-minute: a spike is passing.
  • All three similar: steady state.

Compare load to your CPU count

A load average only means something relative to the number of logical CPUs. Check that number first:

nproc
# or
lscpu | grep '^CPU(s):'

A rough rule of thumb:

Load per CPUMeaning
Below 0.7Comfortable headroom
Around 1.0Fully used, tasks rarely wait
1.0 to 2.0Tasks are queuing, latency may grow
Above 2.0 sustainedOverloaded, investigate

On a 4 vCPU VPS, a load of 3.2 is about 0.8 per CPU, which is fine. The same 3.2 on a 1 vCPU server means three tasks are constantly waiting for every one that runs. Treat the table as a guide, not a law: a batch job server can run at high load deliberately, while a latency-sensitive API should keep more headroom.

High load with low CPU usage

A classic puzzle: load is 8, but top shows the CPU mostly idle. On Linux this almost always means processes stuck in D state waiting for I/O. Look at the wa (iowait) value in top and list blocked processes:

top            # check the %Cpu(s) line for "wa"
ps -eo state,pid,cmd | awk '$1=="D"'
vmstat 1 5     # the "b" column counts blocked processes

Common causes are a slow or saturated disk, heavy swapping when RAM runs out, an unresponsive network filesystem, or a backup job reading the whole disk. iostat -x 1 (from the sysstat package) shows per-device utilization and wait times.

High load with high CPU usage

If load and CPU usage are both high, find the processes doing the work:

top -o %CPU
ps -eo pid,pcpu,pmem,cmd --sort=-pcpu | head

Typical culprits include too many PHP-FPM or application workers for the available cores, an inefficient database query running in a loop, a runaway cron job, or a compromised server mining cryptocurrency. On a VPS also check the st (steal) value in top: it shows time the hypervisor gave your virtual CPU to someone else. Persistent high steal points to contention at the host level rather than a problem inside your server.

A practical checklist when load spikes

  1. Run uptime and nproc to see whether load is really high for this machine.
  2. Open top and read us, sy, wa and st on the CPU line.
  3. If wa is high, check iostat -x 1, free -h and swap activity in vmstat.
  4. If us or sy is high, sort processes by CPU and identify the service.
  5. Check recent logs with journalctl -p warning --since "30 min ago".
  6. Decide: optimize the workload, limit worker counts, or add resources.

For a deeper method of tracing which resource is the limit, see our guide on finding server bottlenecks.

Watch the trend, not a single number

One snapshot of load rarely tells the full story. Record it over time with a monitoring tool so you can correlate spikes with deploys, traffic, cron schedules or backups. Alerting on a sustained per-CPU value (for example, load above 1.5 times the core count for 10 minutes) is far more useful than alerting on any single spike.

If your workload has genuinely outgrown its CPU count after you have optimized it, moving to a plan with more vCPUs is the honest fix. You can compare sizes on our pricing page.

FAQ

Is a load average of 1.0 bad?

It depends on the CPU count. On a single vCPU server, 1.0 means the CPU is fully busy. On a 4 vCPU server, 1.0 means roughly a quarter of the capacity is in use, which is light.

Why does load stay high after the busy process finishes?

Because the numbers are moving averages. The 1-minute value drops quickly, while the 5 and 15-minute values decay more slowly and can take several minutes to return to normal.

Does load average include memory usage?

Not directly. However, when RAM runs out and the system starts swapping, processes block on disk I/O and enter D state, which pushes the load average up. High load with heavy swap is a sign that the server needs more memory or lighter processes.

Related guides