A cPanel host with a load average of 30 might be CPU-bound, IO-bound, swap-thrashing, or just running a brief backup. The phrase “high load” tells you nothing about which subsystem to fix. Before opening WHM, before paging a tenant, before changing any configuration, the first move is five command-line checks that take under a minute combined. We run these as a habit on any host that looks unhappy.
What’s happening
Linux load average is the count of processes either running or in uninterruptible sleep (usually disk IO), averaged over 1, 5, and 15 minutes. A load of 30 on a 32-core host running purely CPU-bound work is fine. A load of 30 on the same host where 20 of those processes are stuck in D state on disk IO is a serious problem. The same number, two completely different diagnoses. The triage commands separate one from the other.
How to verify
The five-command flow:
top -bn1 | head -30
htop -d 5 # interactive, sort by CPU then by IO
vmstat 1 5
iostat -xz 1 5
ps auxf | awk '$8 ~ /D/'
What to read:
top— load average, what’s eating CPU. If%wa(IO wait) is over 30%, the box is disk-bound; if%us(user CPU) dominates, it is CPU-bound.vmstat 1 5— five 1-second samples.rcolumn = runnable processes;b= blocked on IO.siandso= swap in/out per second; anything above 0 means active swapping.iostat -xz 1 5— per-device IO stats.%utilnear 100% on a device means the disk is the bottleneck;awaitover 50ms means each IO operation is slow.ps auxf | awk '$8 ~ /D/'— every process currently stuck in uninterruptible disk sleep. If this list has more than a couple of entries, you have an IO problem.
The fix
The triage tells you which fix to apply, not how to apply it:
- CPU-bound — find the process with
toporps aux --sort=-%cpu | head. If it is one user, drop intolveinfofor that user. If it is mysqld, check the process list withSHOW PROCESSLIST. - IO-bound —
iotop -oshows which processes are doing the IO. A backup process is benign; a runaway plugin writing to wp-content/cache is not. - Swap-thrashing —
free -hshows total swap use;vmstatshows the rate. Either the host is OOM-pressured (add RAM or evict a tenant) or one process leaks (kill and report). - D-state processes — usually network filesystem or failing disk.
dmesg | tail -50for hardware errors;/var/log/messagesfor NFS/cifs timeouts. - Nothing obvious in any of them — load comes from many small short-lived processes (PHP-FPM workers, cron jobs). Run
pidstat -dl 1 5for per-process disk activity over a window.
Once the subsystem is identified, the rest of the runbook is per-subsystem. Stack Harbor uses this triage flow as part of monitoring and support.