What are the five usual causes?
- •Memory pressure: free memory near zero, swap in use, the OOM killer in the kernel log. Symptom: everything is slow, not one thing
- •Disk: over 90 percent full, inodes exhausted, or I/O errors from a failing drive. Symptom: writes stall, logs stop, MySQL slows
- •A hot process: one worker at 100 percent CPU, a backup job, a runaway cron, a crypto-miner after a compromise
- •The database: a query that was fine at 10,000 rows and is not at 10 million; connections at the limit; Redis evicting
- •A change: a deploy, a package upgrade, a config edit, a certificate renewal that restarted a service, minutes before the slowdown
On a cloud VPS there is a sixth: CPU steal. When the host machine is oversold, your virtual CPU waits for a physical one, and the server is slow while every graph inside it looks normal. The st column in top or vmstat shows it.
What is a bad number? Healthy vs slow, side by side
| Signal | Where to read it | Healthy | Explains a slow server |
|---|---|---|---|
| Load average | uptime (compare with nproc) | Below the core count | Above the core count for minutes; 2× is overloaded |
| Available memory | free -m, the available column | More than 15 percent of RAM | Under 5 percent, or swap in use and growing |
| Swapping | vmstat 1 5, the si and so columns | 0 | Non-zero on every line: the box is paging |
| I/O wait | top (wa) or iostat -x 1 3 | Under 5 percent | Above 20 percent, or await above 20 ms on an SSD |
| Disk space | df -h and df -i | Under 85 percent | Over 95 percent, or inodes at 100 percent |
| CPU steal | top (st) or vmstat (st) | 0–2 percent | Above 10 percent: the host, not your server, is the problem |
| OOM kills | dmesg -T | grep -i "killed process" | None | Any in the last hour |
Thresholds that separate a busy server from a slow one
If every row is healthy and the site is still slow, the slowness is in the application or the database: read the slow-query log and the web server’s upstream response times next.
How do you tell them apart quickly?
On the box, the classic sequence is uptime, free -m, df -h, top sorted by CPU then memory, dmesg for OOM and I/O errors, and the slow-query log. That takes an experienced person ten minutes and a developer an hour, at the worst time.
Opservo does the same sequence continuously. Every heartbeat carries system, process, disk, kernel-log and database facts; the rules engine attributes the slowdown to a category with a confidence level, and the incident timeline puts it next to what changed on the server in the same window.
In what order do you check, on the box?
If you are at a terminal, narrow it down in this order so you do not spend an hour on the wrong resource. One command per step; stop at the first one that explains the symptom.
| Step | Command | What you are looking for |
|---|---|---|
| 1. Load vs cores | uptime; nproc | Load above 1× the core count is saturation, above 2× is overloaded. Load 8 on an 8-core box is full; on a 2-core box it is an emergency |
| 2. Memory and swap | free -m; vmstat 1 5 | Available memory near zero and swap in use: the box is paging and every process is slow, not one |
| 3. Disk space and I/O wait | df -h; df -i; iostat -x 1 3 | A mount over 90 percent, inodes exhausted, or %iowait and await climbing: writes stall for everyone |
| 4. The process | top -o %CPU, then top -o %MEM | One worker at 100 percent, a backup or cron job, a leaking app: the culprit is usually in the top three |
| 5. What changed | journalctl --since -1h -p err; dmesg -T | tail; ls -lt /var/log | head | A deploy, a restart loop, OOM kills, a log that stopped rotating, minutes before the slowdown |
The five-minute order of operations for a slow Linux server
The fastest path to a fix is almost always "what changed?", not "what is the metric?". Most sudden slowness has a cause you can name: a deploy, a traffic spike, a disk filled by a log that stopped rotating, a service crashing and restarting in a loop.
What does an answer look like?
A real example from the product: "/var will fill in about 6 days. Docker JSON logs are growing 3.1 GB per day because nginx access logs are not rotating." followed by a Fix button that adds the logrotate rule and prunes the existing logs. Or: "MySQL is spending most of its time on one query pattern against orders without an index on customer_id; 14 queries over 5 seconds in the last hour."
How do you fix it without SSH?
Every finding carries the runnable command. On servers where remote actions are enabled, the dashboard runs it with confirmation and an audit record. Resolve-with-AI goes further: it proposes the smallest reversible step, runs it on approval, reads the result and decides the next step, and asks before anything destructive. The fix that worked is remembered as a runbook for the next server with the same problem.
Last updated 2026-10-28.