High load tells you tasks are running, runnable, or stuck in uninterruptible waits. It does not tell you which resource is limiting progress. Start with the affected service, then separate CPU contention, memory pressure, and blocked I/O.

This is an original interview drill. For the historical article, read Kyle Rankin's Linux Journal piece on high load. Return to the interview overview for the full preparation route.

What does load average measure?

On Linux, it averages runnable/running tasks and tasks in uninterruptible sleep across one, five, and fifteen minutes. It counts scheduling entities, including threads. It is neither CPU utilization nor the number of requests waiting in the application. See proc_loadavg.

Is load 8 bad on an eight-CPU host?

It depends on task state, available CPU capacity, and service latency. Eight runnable CPU-bound tasks can keep eight CPUs busy; eight blocked tasks describe a different problem. CPU affinity and cgroup quotas can give a service less capacity than the host's CPU count suggests.

Why can load remain high after a fix?

It is a moving average. Check current runnable/blocked tasks and request latency; a successful mitigation does not instantly erase the preceding minutes of load.

Which observations separate the causes?

Commands assume Linux with procps and sysstat; PSI paths require kernel support. These collect evidence without changing configuration:

uptime
vmstat 1 5
ps -eo pid,ppid,stat,wchan:24,comm
pidstat -u -r -d 1 5
free -h
iostat -xz -y 1 5
cat /proc/pressure/cpu
cat /proc/pressure/memory
cat /proc/pressure/io

Use interval samples after vmstat's initial activity report. Compare runnable work with CPU use, blocked work with waits and I/O latency, and memory pressure with reclaim/swap activity. vmstat documents the fields; PSI measures time tasks lose to resource contention.

What supports a CPU-contention explanation?

Sustained runnable work, high use of the CPUs available to that workload, and CPU pressure correlated with its latency. Check per-thread behavior: one hot thread can limit an application while other CPUs remain idle. If a cgroup quota applies, inspect its resolved cpu.max and interval changes in cpu.stat on cgroup v2.

What supports a memory-pressure explanation?

Falling available memory, reclaim/major-fault activity, memory pressure, sustained swap traffic, or OOM evidence within the relevant host/cgroup. Nonzero swap usage alone does not establish current thrashing. A cgroup can exhaust its allowance while the host has spare memory.

What supports an I/O-wait explanation?

Blocked tasks, their wait locations, I/O pressure, and increased latency/queueing on the path they use. Check remote mounts too. Iowait is CPU accounting, and a D-state task alone cannot identify a failed local disk.

iostat's await includes queueing and device service. %util is not a universal saturation threshold for parallel storage. Compare the device and workload with their normal baseline. See iostat.

Worked interview scenario: the API is slow

Constructed evidence, not a captured incident:

Host: 8 logical CPUs
Load: 18.0, 12.0, 5.0
Current vmstat samples: r=1, b=12, substantial CPU idle
Available memory: 7 GiB of 16 GiB
No swap-in/out during the observation
API p99 latency: 3 seconds, normally 150 milliseconds

What can you conclude?

The evidence favors blocked work over host-wide CPU exhaustion. It does not prove the disk is slow or rule out every memory-limit problem. Inspect the blocked processes' waits and mount/dependency paths, then correlate those with I/O latency and the affected requests.

What would you do before restarting?

Check what changed, which requests fail, and whether restarting interrupts accepted work. If a new batch job is driving contention, pausing that job may be a narrower mitigation. If storage or NFS is unavailable, restarting the API may leave the same wait and add recovery work.

What proves recovery?

Successful requests at normal demand, latency returning within the service's objective, and accepted backlog draining without lost work. Current blocked-task counts and pressure should improve consistently with that result. Load can decay later.

Five-minute drill

Explain the scenario in 45 seconds. Then answer the follow-ups: what changes if r=30 with busy CPUs, what changes if only one application thread is hot, and what changes if the host is idle but the service's cgroup shows CPU throttling?

Expected: distinguish host CPU contention, application parallelism, and imposed resource limits. Continue with local network failures or the short troubleshooting answers.