Diagnosing High Server Load: How to Find the Real Bottleneck
A server becomes painfully slow.
Users report:
- applications freezing
- websites timing out
- files taking ages to open
- remote sessions lagging
- database queries crawling
You check monitoring and see:
high server load.
But that is not the diagnosis.
It is the symptom.
The server might be short of CPU. Or applications might be waiting for storage, memory, a database lock, network access or another system entirely.
The quickest way to troubleshoot high server load is therefore:
confirm the impact → check load against CPU capacity → identify what tasks are waiting for → find the process or dependency responsible → fix the cause
What Does “Server Load” Actually Mean?
On Linux, run:
uptime
You might see:
15:08:17 up 42 days, load average: 7.82, 6.44, 4.19
Those three figures represent load averages over approximately:
- 1 minute
- 5 minutes
- 15 minutes
But a load average of:
8
does not mean the same thing on every server.
On a machine with:
2 CPUs
it is potentially severe.
On a machine with:
32 CPUs
it may be completely manageable.
Check available processing capacity with:
nproc
Red Hat similarly uses CPU count as essential context when determining whether a load average is genuinely high.
High Load Does Not Mean High CPU
This is the most important concept in the article.
Imagine:
Load average: 20
CPU usage: 25%
It is tempting to think:
“Those figures contradict each other.”
They don't necessarily.
Processes can contribute to load while waiting for something else.
For example:
Application
↓
requests data
↓
storage takes too long
↓
application waits
↓
load increases
while CPU still has idle capacity.
So do not respond to a high load average by automatically adding more CPU.
First establish the bottleneck.
Step 1: Establish What Users Are Actually Experiencing
Before opening ten monitoring tools, define the problem.
Ask:
- Which service is slow?
- When did it begin?
- Is everyone affected?
- Is it constant or intermittent?
- Did anything change recently?
- Are other services on the server healthy?
Compare:
- another workstation
- another user
- local access
- remote access
- another application on the same server
For example:
“The accounts application becomes slow between 09:00 and 09:30, but file shares remain normal.”
That is far more useful than:
“The server is slow.”
The first description immediately points towards:
- application workload
- database
- scheduled task
- backup
- reporting job
associated with that particular service and time.
Step 2: Look at the Trend, Not One Number
Run:
uptime
Suppose the load averages are:
18.2, 7.4, 3.1
The 1-minute figure is much higher than the 15-minute figure.
Something may have happened recently.
Now consider:
3.2, 7.4, 18.1
The current load may already be recovering from an earlier problem.
And:
18.1, 17.9, 17.6
suggests sustained pressure.
The direction matters.
A single monitoring screenshot does not tell the whole story.
Step 3: Use top or htop
Start with:
top
or, where installed:
htop
Look at:
- load average
- CPU utilisation
- memory
- swap
- running tasks
- processes consuming CPU
- processes consuming memory
Do not immediately kill whatever appears at the top.
A backup process legitimately using substantial CPU may be doing exactly what it is supposed to do.
Ask:
Is this process expected to be busy right now?
Step 4: Determine Whether CPU Is Actually Saturated
Check CPU behaviour with:
top
and:
mpstat -P ALL 1
if sysstat is installed.
Look for:
- high user CPU
- high system CPU
- one saturated core
- all cores saturated
- high steal time on virtual machines
A server can also have one bottlenecked application without showing 100% total CPU.
For example, on an eight-core server, a single-threaded application completely saturating one core may account for only roughly:
12.5% total CPU
while that application itself cannot run any faster.
That distinction is already correctly made in your existing article.
High CPU Is Not Automatically Bad
A processor exists to perform work.
If a server is:
- compressing a backup
- compiling software
- producing a report
- processing a large import
high CPU utilisation may be perfectly reasonable.
The important questions are:
Is useful work being completed?
Are other services being delayed?
Is the workload expected?
Does it finish?
An 85% busy server delivering good response times can be healthier than a 20% busy server where applications are stuck waiting for storage.
Step 5: Use vmstat to See the Bigger Picture
One of the quickest diagnostic commands is:
vmstat 1
Do not put too much weight on the first line because it represents averages since boot. Repeated samples are much more useful. Red Hat specifically recommends interval sampling for this reason.
Important columns include:
r
Runnable processes waiting for CPU.
si / so
Swap-in and swap-out activity.
bi / bo
Block I/O.
us
User CPU.
sy
Kernel/system CPU.
id
Idle CPU.
wa
I/O wait.
Now you can begin asking:
CPU pressure?
Memory pressure?
Storage pressure?
instead of simply:
high load?
Step 6: Check Memory Pressure Properly
Run:
free -h
Do not panic because the free memory figure looks small.
Linux deliberately uses spare RAM for caching.
Focus more on:
- available memory
- swap activity
- OOM events
- whether applications are continually demanding more memory
Then use:
vmstat 1
and watch:
si
so
Sustained swap activity alongside poor performance is much more interesting than a large amount of RAM simply being used for cache.
Red Hat also identifies swap-in and swap-out activity as useful indicators of memory pressure.
Check for OOM Events
If Linux runs critically short of memory, the Out Of Memory killer may terminate processes.
Check:
journalctl -k | grep -i -E 'oom|out of memory|killed process'
or:
dmesg | grep -i -E 'oom|out of memory|killed process'
If the database keeps disappearing because the kernel is killing it under memory pressure, repeatedly restarting the database is not the fix.
Find out why memory is exhausted.
Step 7: Investigate Storage
Storage is one of the most common hidden causes of a server that feels slow while CPU remains relatively quiet.
Start with:
iostat -xz 1
Look at the devices actually hosting the workload.
Useful metrics include:
- utilisation
- throughput
- queueing
- read latency
- write latency
Linux exposes these underlying I/O statistics through /proc/diskstats and /sys/block/.../stat, with tools such as iostat and sar presenting them in a usable form.
Red Hat specifically recommends using iostat to identify the responsible storage device once vmstat suggests that I/O is involved.
Don't Treat %iowait as Proof the Disk Is Bad
This is worth updating in the current article.
A high:
%iowait
is an important clue.
It is not proof that:
“the disk is definitely slow.”
Current Red Hat troubleshooting documentation includes cases where very high I/O wait is observed even though disk latency itself remains normal.
Correlate it with:
- device latency
- queueing
- application behaviour
- blocked tasks
- virtualisation
- storage errors
before blaming the physical disk.
Step 8: Look for Tasks Stuck in D State
Run:
ps -eo state,pid,ppid,comm,wchan:32 | awk '$1=="D"'
D normally means uninterruptible sleep.
That frequently means a task is waiting on I/O or another kernel operation.
A large number of tasks stuck in D state can explain:
high load + low CPU
very quickly.
Possible causes include:
- storage problems
- NFS
- SAN issues
- filesystem problems
- device problems
- virtualisation/storage stack issues
Do not just kill the applications.
Find what they are waiting for.
Step 9: Use Linux Pressure Stall Information
Modern Linux provides another extremely useful view:
cat /proc/pressure/cpu
cat /proc/pressure/memory
cat /proc/pressure/io
This is Pressure Stall Information, or PSI.
Rather than simply asking how much of a resource is being used, PSI measures how much time workloads are stalled because they cannot obtain CPU, memory or I/O resources.
For example:
some avg10=12.50 avg60=8.20 avg300=3.60
means some workloads are spending measurable time stalled on that resource.
The full metric is particularly important because it represents periods when all non-idle tasks are simultaneously stalled.
Linux kernel documentation describes sustained full pressure as a situation associated with severe workload degradation or thrashing.
This is an excellent addition to a 2026 server-performance article.
Step 10: Find the Responsible Process
Once you know the constrained resource, find what is consuming it.
For CPU:
ps -eo pid,ppid,user,%cpu,%mem,etime,comm --sort=-%cpu | head -20
For memory:
ps -eo pid,ppid,user,%cpu,%mem,rss,etime,comm --sort=-rss | head -20
For interactive inspection:
top
or:
htop
For disk activity, where available:
iotop
Now ask:
What is the process?
Who owns it?
When did it start?
Is it expected?
What changed?
Do Not Kill a Process Just Because It Is Number One
Suppose:
postgres = 95% CPU
That does not prove PostgreSQL itself is broken.
The cause could be:
- expensive query
- missing index
- reporting job
- application bug
- unusually high demand
Likewise:
backup-agent = heavy disk I/O
might simply mean:
the scheduled backup is running.
Stopping the process may restore performance temporarily while hiding the actual cause.
Capture evidence first.
Step 11: Check Scheduled Jobs
If high load occurs at approximately the same time every day, look for scheduled work.
Check:
systemctl list-timers --all
and user/system cron configuration.
Typical culprits include:
- backups
- antivirus scans
- log rotation
- database maintenance
- reporting
- indexing
- software updates
- synchronisation jobs
Imagine:
09:00 — staff begin work
and:
09:00 — full backup begins
The server may not need more CPU.
The backup may simply need rescheduling.
Step 12: Check the Database
If only the business application is slow while:
- CPU looks reasonable
- storage is healthy
- network is healthy
look at the database.
Possible causes include:
- slow queries
- blocked queries
- locking
- missing indexes
- connection exhaustion
- inefficient execution plans
The server itself may be perfectly capable.
The application is simply waiting for the database.
This is why “server load” should never be investigated only at operating-system level.
Step 13: Check the Network and External Dependencies
An application can feel slow because it is waiting for:
- DNS
- another server
- API
- authentication provider
- database
- storage share
- internet service
Useful checks include:
ping server
where ICMP is permitted:
ss -s
and:
ip -s link
For a specific TCP service:
nc -vz server.example.com 443
where Netcat is available.
A local server may be healthy while every request waits several seconds for an external dependency.
Do not upgrade local hardware to solve somebody else's latency.
Step 14: Virtual Machines Need Host-Level Investigation Too
If the server is virtual, guest statistics tell only part of the story.
The underlying host may be:
- CPU overcommitted
- memory constrained
- swapping
- storage constrained
- running too many VMs
On Linux guests, pay particular attention to:
%steal
where available.
High steal time indicates that the virtual CPU wanted to run but the hypervisor was using physical CPU elsewhere.
That means:
the VM thinks it needs more CPU
but:
the real contention may be on the host.
Adding another vCPU can sometimes make poor virtualisation scheduling worse rather than better.
Step 15: Look at Recent Changes
Ask what changed shortly before the slowdown.
For example:
- software update
- security update
- new backup schedule
- antivirus policy
- application deployment
- additional users
- database import
- VM migration
- storage change
- network change
Do not automatically blame the most recent change.
But correlation is valuable.
If performance was normal for six months and became terrible immediately after a new scanning policy was deployed, investigate that before ordering new server hardware.
Step 16: Don't Restart Before Capturing Evidence
Restarting a server is tempting because it may immediately restore performance.
But it can destroy the evidence explaining what happened.
Before restarting where practical, record:
uptime
free -h
vmstat 1 10
iostat -xz 1 10
ps -eo pid,ppid,user,state,%cpu,%mem,etime,comm --sort=-%cpu | head -30
and:
cat /proc/pressure/cpu
cat /proc/pressure/memory
cat /proc/pressure/io
Also preserve relevant:
- application logs
- system journal
- database logs
- monitoring graphs
Then restart if required to restore service.
Otherwise you risk reaching:
“It's working now.”
without ever discovering why it failed.
A Fast Diagnostic Flow
When a Linux server reports high load:
- Confirm which service users say is slow.
- Run
uptime. - Compare load with
nproc. - Check
toporhtop. - Run
vmstat 1. - Determine whether CPU is saturated.
- Check memory and swap activity.
- Run
iostat -xz 1. - Look for tasks in
Dstate. - Check
/proc/pressure/for CPU, memory and I/O stalls. - Identify the responsible processes.
- Check scheduled jobs.
- Investigate the application/database.
- Check network and external dependencies.
- If virtualised, check host contention.
- Compare with recent changes.
- Capture evidence before restarting.
That reduces a vague:
“server load is high”
into something actionable such as:
“Database processes are blocked waiting for storage during the 09:00 backup window.”
Now you have a diagnosis.
CPU, Memory or Storage? A Quick Interpretation
| Observation | Likely direction |
|---|---|
| High CPU + runnable queue | CPU contention |
| One core maxed | Single-thread bottleneck |
| Swap continuously active | Memory pressure |
| High I/O latency + blocked tasks | Storage bottleneck |
High load + low CPU + many D tasks | I/O/dependency wait |
High %steal | Hypervisor contention |
| Only one application slow | Application/database |
| Everything slow at same scheduled time | Scheduled workload |
| Local server healthy but app slow | Network/external dependency |
| PSI memory/io sustained | Resource stall worth investigating |
Do not treat this table as a substitute for measurement.
Use it to decide where to investigate next.
Fix the Cause, Not the Metric
Once you identify the bottleneck, the solution might be:
CPU
- optimise workload
- reschedule jobs
- fix runaway process
- increase CPU capacity
Memory
- fix leak
- tune application
- reduce workload
- add RAM
Storage
- reschedule backup
- repair degraded RAID
- move workload
- improve storage performance
Database
- optimise query
- add index
- fix locking
- tune connections
Network
- repair connectivity
- fix DNS
- resolve packet loss
- address bandwidth constraints
The objective is not:
make the load-average number smaller.
It is:
restore acceptable application performance and eliminate the actual constraint.
Prevent the Next High-Load Incident
Once the incident is resolved, establish monitoring for the things that would have identified it sooner:
- CPU
- memory pressure
- swap
- disk latency
- storage capacity
- network errors
- application response time
- service availability
- database performance
- backup duration
Most importantly, keep historical data.
If a server becomes slow every Tuesday at 02:00, historical monitoring can turn an intermittent mystery into an obvious correlation.
How Hamilton Group Can Help
Hamilton Group can help businesses investigate server-performance problems across:
- Linux servers
- Windows Server
- virtual machines
- storage
- databases
- networking
- backup systems
- cloud infrastructure
- monitoring
Rather than simply restarting a slow server or recommending more hardware, the objective should be to determine:
what resource is constrained, what workload is responsible and why it happened.
For managed environments, proactive monitoring can also identify increasing resource pressure before it becomes a user-facing outage.
Visit hgmssp.com or call 01423 438 953 to discuss server and infrastructure support.
0 comments
- Be the first to comment.