Hardware and Performance Problems
How to diagnose and report CPU, disk, and memory problems on your server.
Overview
Check CPU, memory and disk use inside the server before changing its plan or reinstalling. These checks help identify whether a slow application, resource limit or underlying fault needs attention.
If you are troubleshooting slow downloads, high latency, or packet loss, see Network Problems instead.
Before You Start
Start with these checks:
- Runaway processes. Run
toporhtopand check whether a single process is consuming all of the CPU or memory. - Memory exhaustion and swapping. Run
free -h. If your server is out of memory and swapping heavily, everything will feel slow, including the disk. - A full disk. Run
df -handdf -i. A disk at 100 percent capacity, or one that is out of inodes, causes failures that look like hardware faults. - Recent changes. Consider whether the problem started after a package update, a kernel upgrade, a configuration change, or a new workload being deployed.
- Errors. Check the console and guest logs for disk, memory or boot errors. Record them before restarting. Do not keep restarting a server that reports I/O errors.
Note whether the problem is constant or happens only at certain times of day.
CPU Performance
Checking CPU Steal
Run top and check st on the CPU line. CPU steal is time when a virtual server is waiting for the host to schedule its CPU work.
%Cpu(s): 4.2 us, 1.1 sy, 0.0 ni, 94.5 id, 0.1 wa, 0.0 hi, 0.1 si, 0.0 st
We aim to keep CPU steal at 0 percent, but shared CPU contention can raise it. A short spike is different from sustained steal that affects your workload.
If your CPU steal value regularly exceeds 10 percent, please open a support ticket.
Monitoring Steal Over Time
Collect a sample instead of relying on one top reading:
vmstat 1 60
This prints a summary followed by one reading per second for 60 seconds. Find the column headed st. Send the output with the time and timezone. Existing monitoring graphs are useful too.
Shared CPU limits
Check the Fair Use Policy for your product line. A temporary CPU cap, an application using all assigned cores, and CPU steal are different causes of slow performance. A higher benchmark result from another lineup does not by itself mean the current host has a fault.
If There Is No Steal
If you are not seeing any CPU steal but performance is still poor, please reach out and we can investigate further. A few things worth knowing first:
- Benchmarks such as Geekbench may report lower scores when the VPS is using hyperthreaded vCPU cores.
- The clock speed reported inside your VM can be inaccurate. Check the product description for the processor your plan uses.
Dedicated Servers
CPU steal does not exist on dedicated or bare metal machines, since there is no hypervisor scheduling your cores. If you are seeing performance issues on dedicated hardware, install lm-sensors and check the CPU temperatures as a first step:
sudo apt install lm-sensors
sudo sensors-detect --auto
sensors
Sustained temperatures at or near the processor's thermal limit will cause it to throttle and lose performance. If you see this, please open a ticket so that we can inspect the cooling on the machine.
Disk Performance
Running a Benchmark
We use enterprise Gen3 or Gen4 NVMe SSDs across almost all of our VPS hypervisors, so disk performance issues are extraordinarily rare. To measure your disk, we recommend running the following and checking the fio results it outputs:
curl -sL yabs.sh | bash -s -- -i -g -n
Note that yabs.sh is a third-party tool, so use it at your own risk.
Interpreting the Results
As long as the 1m result is above 1 GB/s and the 4k results are above 100 MB/s, your disk performance is within the expected range. Our virtual servers typically exceed these figures by a wide margin, as in the sample output below:
fio Disk Speed Tests (Mixed R/W 50/50):
---------------------------------
Block Size | 4k (IOPS) | 64k (IOPS)
------ | --- ---- | ---- ----
Read | 219.67 MB/s (54.9k) | 1.64 GB/s (25.7k)
Write | 220.25 MB/s (55.0k) | 1.65 GB/s (25.8k)
Total | 439.93 MB/s (109.9k) | 3.30 GB/s (51.5k)
| |
Block Size | 512k (IOPS) | 1m (IOPS)
------ | --- ---- | ---- ----
Read | 4.30 GB/s (8.4k) | 4.91 GB/s (4.7k)
Write | 4.53 GB/s (8.8k) | 5.24 GB/s (5.1k)
Total | 8.84 GB/s (17.2k) | 10.15 GB/s (9.9k)
Keep two things in mind when comparing your numbers:
- Disk throughput is shared between the virtual servers on a hypervisor, so results will vary somewhat between runs.
- Linux caches disk contents in memory, which can inflate 4k and 1m results well above what the underlying storage can sustain.
If you are consistently seeing under 1 GB/s on 1m or under 100 MB/s on 4k, please open a ticket so that we can investigate.
High I/O Wait
If throughput looks acceptable but the server still feels slow, check the wa (I/O wait) value in top. A persistently high I/O wait combined with low throughput usually points to a workload issuing a large number of small synchronous writes, such as an unoptimised database. Running iostat -x 1 from the sysstat package will show you which device is busy and how long requests are queuing.
Memory Issues
High memory use in the console
Guest operating systems use spare RAM for caches. Host-side usage and the guest's application usage can therefore differ. A high panel figure alone does not show that an application is out of memory.
On Linux, run free -h and look at available as well as used, then check processes with top. The available field estimates memory available to new applications without swapping; see the free manual. On Windows, compare Task Manager's memory details with the panel.
Do not clear caches repeatedly just to reduce the graph. Investigate low available memory, swapping and application failures instead.
Out-of-memory events
If processes on your server are being killed unexpectedly, check whether the kernel is running out of memory before suspecting faulty hardware:
sudo dmesg -T | grep -i -e "out of memory" -e "killed process"
Entries here mean the OOM killer terminated a process because the server ran out of available memory. That is a capacity issue rather than a hardware fault, and is resolved by reducing memory usage, adding swap, or upgrading your plan.
On dedicated servers you can also check for correctable and uncorrectable ECC memory errors:
sudo dmesg -T | grep -i -e edac -e "hardware error" -e mce
Any uncorrectable errors, or a steadily increasing count of correctable errors, should be reported to us immediately so that we can arrange a memory replacement. ECC errors are not visible from inside a virtual server, so if you suspect a memory fault on a VPS, please open a ticket and we will check the host.
Reporting a Hardware Issue
Opening a ticket with the information below lets us start investigating right away instead of asking follow-up questions:
- A clear description of the symptom and how you are measuring it.
- The date, time, and timezone the problem occurred, and whether it is constant or intermittent.
- The raw output of any commands you ran, such as
top,vmstat 1 60, or the fullyabs.shresults. Please paste the text rather than sending a screenshot where possible. - Monitoring graphs covering the period in question, if you have them.
- Anything that changed on the server shortly before the problem started.
Tickets can be opened from the client area. If we find a fault with the underlying hardware, we will migrate your server to healthy hardware or replace the faulty component, and we will keep you updated throughout.
Still stuck? Contact our team
View as Markdown