Back to Blog
Slow Linux Server? A Practical 12-Step Monitoring Checklist

Slow Linux Server? A Practical 12-Step Monitoring Checklist

   Mariusz Antonik    Automation    9 min read    3 views

When a Linux server feels slow, the safest first move is not a reboot, a package upgrade, or a random tuning change. Those actions can erase the evidence and may only hide the problem for a few hours. Start by defining what “slow” means, preserve a small snapshot of the system, and work from broad resource pressure toward the affected application.

This checklist is designed for developers and small teams that need practical Linux server monitoring without deploying a large observability platform. Most checks use standard commands, but command availability and field names vary by distribution. Run read-only diagnostics first, use appropriate privileges, and avoid load-generating tests on production during busy periods.

1. Define the symptom before checking metrics

Record the time, affected users, service, request type, and duration. Is the whole host slow, or only one website, database query, SSH session, scheduled job, or remote office? Does the delay affect connection setup, application processing, or data transfer? A precise symptom keeps a normal metric from becoming a false suspect.

Measure from both sides where possible. For a web service, compare total response time with DNS, TCP connection, TLS, and time-to-first-byte measurements. For SSH, note whether the delay happens before the password prompt, after login, or only when running commands. Keep the server's timezone and clock in the record so application logs and system metrics can be aligned.

2. Preserve a quick system snapshot

Before changing anything, capture uptime, load, memory, filesystem usage, recent failures, and the busiest processes. A simple starting set is:

date --iso-8601=seconds
uptime
free -h
df -hT
df -ih
ps -eo pid,ppid,user,stat,%cpu,%mem,etime,comm --sort=-%cpu | head -20
systemctl --failed
journalctl -p warning --since "30 minutes ago"

Store the output with the incident notes rather than relying on terminal scrollback. If the server recovers before deeper checks begin, this snapshot may be the only evidence of a short-lived process spike, full filesystem, failed unit, or memory shortage.

3. Interpret load average in context

Load average is not a CPU percentage. On Linux it includes tasks ready to run and tasks stuck in uninterruptible sleep, often while waiting for storage. Compare the 1-, 5-, and 15-minute values with the number of logical CPUs from nproc. A one-minute load above the CPU count can indicate a burst; a sustained high value needs investigation.

nproc
uptime
vmstat 1 10

In vmstat, watch runnable tasks in r, blocked tasks in b, CPU idle time, I/O wait, and swap activity. High load with low CPU use and blocked tasks often points toward storage or another kernel wait rather than insufficient processors.

4. Check CPU pressure, not only CPU usage

Find which processes and threads are consuming CPU, then ask whether the work is expected. A backup, compression job, software build, malware scan, or runaway application can be legitimate work at the wrong time. If available, pidstat gives a clearer time series than a single top screen.

top -b -n 1 | head -30
pidstat -u 1 10
cat /proc/pressure/cpu

Distinguish user time, system time, I/O wait, and steal time. High system time can indicate intensive kernel activity; high steal time on a virtual machine can mean the hypervisor is not giving the guest enough CPU. Do not add virtual CPUs automatically: application locks, oversubscribed hosts, and single-threaded work may not improve with a larger CPU count.

5. Look for memory pressure and swapping

Low “free” memory alone is not a problem because Linux uses memory for cache. Focus on available memory, active swap movement, pressure stall information, and out-of-memory events. Continuous swap-in and swap-out while requests are slow is more meaningful than nonzero swap usage left from an earlier event.

free -h
vmstat 1 10
cat /proc/pressure/memory
journalctl -k --since "24 hours ago" | grep -Ei 'out of memory|oom-killer|killed process'

Identify growth by process and compare it with the application's normal range. Restarting a leaking service may restore performance, but preserve logs and memory trends first and treat the restart as containment, not diagnosis. Also check container and service limits: the host may have spare memory while one cgroup is under pressure.

6. Separate storage capacity from storage latency

A filesystem can have free gigabytes and still be slow. Check both block capacity and inode use, then inspect device latency, utilization, queueing, and filesystem or device errors. If iostat is installed, use an interval so the first report since boot does not mislead you.

df -hT
df -ih
iostat -xz 1 10
cat /proc/pressure/io
journalctl -k --since "24 hours ago" | grep -Ei 'i/o error|timeout|reset|ext4|xfs|nvme|scsi'

Interpret storage statistics according to the device and workload; there is no universal latency threshold. Network volumes, cloud disks, RAID, and local NVMe behave differently. Correlate slow periods with backups, log rotation, snapshots, database maintenance, or another tenant's activity. Avoid destructive benchmarks on a production filesystem.

7. Check filesystem hot spots and deleted-open files

When one mount is close to full, find growth without crossing unrelated filesystems. Deleted files can also continue consuming space while a process keeps them open.

du -xhd1 /var 2>/dev/null | sort -h
lsof +L1

Large log directories, temporary exports, package caches, container layers, and database files are common hot spots. Do not delete unfamiliar files just to recover space. Confirm ownership, retention requirements, and whether the application supports online cleanup. For a deleted-open file, a controlled service restart may release space, but only after its operational impact is understood.

8. Test the network in layers

A server may appear slow when the delay is in DNS, routing, packet loss, TLS negotiation, a proxy, or a remote dependency. Test the actual service instead of relying only on ping. Compare a local request on the host, a request from the same network, and a request from the user's location.

ss -s
ss -lntp
ip -s link
curl -o /dev/null -sS -w 'connect=%{time_connect} ttfb=%{time_starttransfer} total=%{time_total}\n' https://example.com/health

Replace the example URL with the approved service endpoint. Review interface errors and drops, connection counts, retransmission evidence, and DNS timing. ICMP success proves only limited reachability; it does not prove that the application, database, or TLS path is healthy.

9. Inspect service queues and limits

If the host resources look normal, move closer to the application. Check service status, recent logs, worker pools, connection queues, open-file limits, process counts, and cgroup limits. A service can be slow because all workers are busy even while the host has idle CPU.

systemctl status your-service --no-pager
journalctl -u your-service --since "30 minutes ago" --no-pager
systemctl show your-service -p MemoryCurrent -p MemoryMax -p TasksCurrent -p TasksMax

Look for timeouts, retries, pool exhaustion, rate limiting, long garbage-collection pauses, and repeated dependency failures. Compare configured limits with observed concurrency. Increasing workers without checking database capacity and memory can move the bottleneck rather than remove it.

10. Follow the request into the database and dependencies

Application delay often comes from a database, API, object store, identity provider, or DNS resolver. Use request IDs or timestamps to connect the slow user action with upstream logs. For a database, review active sessions, lock waits, connection-pool saturation, slow-query evidence, and storage latency before changing indexes or configuration.

Measure dependency calls from the application host and from the application itself. A direct database test may be fast while the application's pool waits for a connection. Conversely, restarting the web process will not fix a blocked transaction or a remote API that is timing out.

11. Compare the incident with a baseline

A current value becomes useful when compared with the same host, workload, and time window. Keep weekly trends for CPU pressure, load, available memory, swap movement, disk use, inode use, storage latency, boot time, failed services, and application response time. Mark deployments, backups, traffic campaigns, and infrastructure changes on the timeline.

Baselines also reveal slow drift: storage latency that rises each week, a worker process whose memory never returns, a filesystem filling faster than expected, or a database query whose duration doubles over a month. This is where lightweight Linux server monitoring provides more value than a one-time command dump.

12. Change one thing, verify, and document

Form a specific hypothesis from the evidence, make the smallest reversible change, and repeat the same measurement. Examples include stopping an unintended batch job, rescheduling a backup, correcting a query, expanding a constrained pool, or repairing a failing storage path. Record the command, owner, time, expected result, actual result, and rollback route.

A reboot can be necessary for a kernel fault, failed device recovery, or planned maintenance, but capture evidence first and verify every critical service afterward. Confirm application response, database connectivity, mounts, scheduled jobs, backups, monitoring collection, and the original user workflow. “The server is reachable” is not enough to close a performance incident.

A compact triage order for small teams

When time is limited, use this sequence: define the symptom, save a snapshot, inspect load and CPU pressure, check memory and swap, check storage space and latency, test the real network service, inspect application queues, and follow the request into dependencies. Escalate immediately if logs show hardware errors, filesystem corruption, repeated out-of-memory kills, security concerns, or a business-critical outage beyond the team's recovery plan.

The goal is not to collect every metric. It is to preserve enough evidence to separate CPU contention, memory pressure, storage delay, network problems, service saturation, and dependency failures. A repeatable checklist plus a small set of historical trends turns “the Linux server is slow” into a testable problem and helps catch the same pattern earlier next time.

Want weekly infrastructure checks without dashboard fatigue?

DMCloud Architect turns Linux and MySQL health signals into practical weekly reports, helping developers and small businesses spot capacity and performance drift before it becomes an outage.

Get the free starter plan for weekly infrastructure health reports.

About the Author
Mariusz Antonik

Oracle Cloud Infrastructure expert and consultant specializing in database management and automation.

All Tags
#active-directory #adcli #Advanced #agent-visibility #agentless-monitoring #alerts #amazon-linux-2023 #argo-cd #asset-inventory #atop #auditd #automation #backend-infrastructure #backup-monitoring #backup-setup #backup-verification #backups #bandwidth-monitoring #bare-metal-server #baseline-delta-monitoring #Bash #bash cpu monitoring script #bash monitoring #bash scripting #bash-automation #bash-script #bash-scripts #Beginner #Best Practices #bind-dns #block volume backup #brute-force-protection #canary-deployment #Capacity Planning #career-development #centos-7 #centos-ftp-migration #centralized-logging #change-management #chromebook-linux #ci-cd #cifs-mounts #clonezilla #cloud backup strategy #cloud-administration #cloud-costs #cloud-database-setup #cloud-networking #cloudflare-workers #cluster-administration #compute #configuration-management #container-monitoring #control-panel-security #cpu bottleneck #CPU Monitoring #cpu monitoring linux #cpu monitoring script linux #cpu trends #cpu usage trends #cpu usage trends linux #cpu-monitoring-script #cpu-monitoring-without-tools #cpu-performance-decline-server #cpu-performance-degradation-linux #cpu-performance-trends-linux #cpu-pressure #cpu-pressure-linux #cpu-reporting-linux-server #cpu-saturation #cpu-usage-history-linux #create oracle db system in oci #cron #cron cpu monitoring #cron cpu monitoring linux #cron jobs #cron-automation #cron-monitoring #custom-linux-distribution #cve-2026-98432 #cve-advisory #data-sanitization #database #database monitoring #database performance #database-health #database-migration #database-setup #debian #deployment-checklist #detect slow queries mysql #devops #devops-career #devops-checklist #devops-help #devops-interview #devops-learning #disaster-recovery #disk capacity planning server #disk forecasting linux #disk growth trend linux #Disk Monitoring #disk usage #disk usage script linux #disk usage trends #disk-capacity #disk-growth #disk-io #disk-saturation-detection-linux #disk-scaling-planning-linux #disk-space-monitoring #disk-usage-history-linux #dns-migration #dnssec #Early Detection #easy infrastructure monitoring #ebpf #egress-monitoring #elasticsearch #exposed-port-monitoring #fail2ban #field-server-checklist #firewall-rules #fleet-ops #free-tier #freelance-sysadmin #gitlab-ci #gitops-security #growth-trends #Guide #health dashboards #Health Reporting #historical server monitoring #historical-monitoring #home-lab #how to monitor cpu usage linux #hpc #http-boot #https-certificates #incident-response #infiniband #infrastructure #infrastructure health #infrastructure health dashboard #infrastructure health reporting #infrastructure monitoring #infrastructure monitoring report #infrastructure trends #infrastructure trends monitoring #Infrastructure Visibility #infrastructure-as-code #infrastructure-automation #infrastructure-checklist #infrastructure-operations #infrastructure-reporting #inode-monitoring #interview-prep #ip-allowlist #iproute2 #it-asset-disposal #journald #kernel-patching #kubernetes-security #kvm #latency-checks #lightweight linux monitoring #lightweight monitoring #lightweight-monitoring-solution #linux #linux administration #linux cpu monitoring #linux cpu usage #linux disk capacity planning #linux disk usage #Linux monitoring #linux monitoring setup #linux monitoring tools #linux performance #linux performance monitoring #linux server #linux server monitoring #linux servers #linux storage #linux tools #linux-admin #linux-automation #linux-commands #linux-disk-monitoring #linux-file-sharing #linux-hardening #linux-health #linux-home-lab #linux-hotspot #linux-maintenance #linux-migration #linux-monitoring-for-small-business #linux-monitoring-script #linux-monitoring-small-business #linux-multi-seat #linux-networking #linux-patch-management #linux-performance-tuning #linux-plus #linux-remote-desktop #linux-security #linux-server-health #linux-server-health-checks #linux-troubleshooting #lmod #local-dns #local-network #log-management #log-retention #logrotate #loki #low maintenance monitoring #lpic-1 #luks2 #machine-password-rotation #mkcert #monitor cpu usage over time linux #monitor linux server health #monitor server trends #monitor small production server #monitor-server-trends-over-time #monitoring #monitoring without complexity #monitoring-agent #monitoring-for-lean-teams #monitoring-without-devops-team #mptcp #MySQL #mysql health reporting #MySQL monitoring #mysql optimization #MySQL Performance #mysql performance degradation #mysql performance monitoring #mysql performance trends #mysql query performance issues #mysql server monitoring #mysql slow queries #mysql slow query analysis #mysql slow query monitoring #mysql trends #mysql-health #mysql-health-check #mysql-heatwave #mysql-indexing #mysql-monitoring-lightweight #mysql-monitoring-production #mysql-performance-visibility #mysql-query-degradation #mysql-query-latency #mysql-slow-query #mysql-workload-trends #network-automation #network-exposure #network-monitoring #network-traffic #networking #networkpolicy #nftables #node-express #nsg #observability #OCI #oci backup #oci bastion tutorial #oci block volume #oci infrastructure as code #OCI monitoring #oci networking #oci oracle database private subnet setup #oci oracle database tutorial #oci security #oci setup guide #oci terraform tutorial #oci tutorial for beginners #oci vcn terraform #oci virtual machine db system guide #oci-database #oci-mysql-heatwave #oci-mysql-heatwave-tutorial #oci-subnets #offline-pwa #open-port-monitoring #open-source-monitoring #openhpc #operations-checklist #oracle base database service tutorial #oracle cloud bastion #oracle cloud free tier tutorial #oracle cloud infrastructure step by step #oracle cloud infrastructure tutorial #oracle cloud storage #oracle database on oci setup #oracle-cloud #oracle-cloud-mysql-database-service #oracle-cloud-mysql-setup #oracle-cloud-vcn-setup #oracle-linux #oracle-linux-9 #outbound-connections #patch-compliance #patch-management #path-mtu-discovery #Performance #Performance Degradation #performance monitoring #performance trend monitoring #performance trends #performance-analysis #performance-troubleshooting #ping-monitoring #plan disk growth server #plesk #practical server monitoring #practical-linux-monitoring #predict disk usage growth #private instance access #process-monitoring #production-database #production-troubleshooting #prometheus #proxmox #Python #query optimization #query-trends #remote-workstation-security #rhel-tuned #rollback #route-tables #rsyslog #rtnetlink #samba-server #Security #security lists #security-audit #security-compliance #security-hardening #security-monitoring #selinux #server #server health #server health reporting #server health weekly report #server monitoring #Server Performance #server trend analysis #server-administration #server-audit #server-checklist #server-decommissioning #server-diagnostics #server-hardening #server-health-check #server-health-checklist #server-health-insights #server-health-summary #server-management #server-metrics #server-operations #server-reporting #server-security #server-security-audit #server-security-checklist #server-throughput #server-trends #server-troubleshooting #server-uptime #servers #service-worker #shutdown-protection #siem #simple cpu monitoring linux #simple linux monitoring #simple monitoring small business #simple monitoring system #simple ops monitoring #slow queries #slow query reporting mysql #slow-query-log #slurm #small business infrastructure #small business IT #small business servers #small infrastructure monitoring #small server monitoring #small-business-monitoring #small-business-security #small-business-server-monitoring #small-business-tech #software-support-engineer #sosreport #source-built-linux #ssh #ssh bastion #ssh-monitoring #ssh-security #sssd #storage capacity planning linux #storage monitoring #storage-capacity #storage-forecasting #subnets #sudo-security #support-engineer-interview #sysadmin-checklist #sysadmin-lab #syscall-monitoring #sysstat #System Health #system health reporting #system-administration #system-monitoring #systemd #tcp-mtu-probing #tcp-tuning #technical-documentation #technical-support #terraform oci compute #terraform oracle cloud infrastructure #track-disk-growth-linux #training-lab #Trend Monitoring #trend-analysis #trends #Troubleshooting #tuned-adm #Tutorial #ubuntu #ufw #uptime-checks #uptime-monitoring #used-server-hardware #vcn #vcn-design #vector #vps-management #vps-monitoring #vps-setup #vsftpd #vulnerability-management #vulnerability-response #wazuh #weekly-checklist #weekly-health-report #weekly-health-reporting #weekly-health-reports #weekly-reports #weekly-server-report #windows-admin #windows-agent #windows-linux #xrdp