← Knowledge Base
TroubleshootingReference note1 min read · updated 2026-11-27

Troubleshooting: the server is slow

Is it CPU, memory, disk or network, and which process? A five-minute triage.

performancetroubleshootingtriage
uptime                          # load vs number of CPUs (nproc)
top -o %CPU                     # who uses CPU     (then: top -o %MEM)
free -h; vmstat 1 5             # swapping? (si/so) waiting on disk? (wa)
iostat -x 1 3                   # disk busy (%util), queue
sudo ss -s                      # connection counts
dmesg -T | tail -30             # OOM kills, disk or driver errors

Patterns: high load with low CPU use usually means processes waiting on disk or network; high si/so means memory pressure; "Killed" processes plus Out of memory in dmesg mean the OOM killer ran. Look at the application's own logs and at recent changes (updates, new containers, a traffic spike). Fix the cause (memory leak, runaway job, missing index, too small a VM), not only the symptom.