A customer says their VPS feels slow. Pages hang, SSH lags, and cron jobs run longer than they used to. They log in, run top, and see CPU usage that looks modest. Support checks the same thing, finds nothing wrong inside the guest, suggests caching or a plugin cleanup, and closes the ticket. A week later the same customer, or their neighbor on the same node, opens another one.
This write-up treats that loop as an incident and walks it like a post-mortem. It isn't any single case. It's a pattern that shows up whenever a Proxmox node carries more running vCPUs than it can serve at busy hours. The goal is to see where the investigation usually goes off track and what a weekly check looks like that breaks the loop.
Impact: slow VPS, normal-looking CPU
The symptom is vague, which is part of why it lasts. Customers describe it as slowness rather than an error. Response times climb at certain hours and then recover on their own. Nothing crashes, and no service logs complain. Monitoring dashboards inside the guest show CPU usage well below 100%, so the obvious explanation (the site is busy) doesn't fit.
The real impact is spread across tickets. Each one looks minor and gets resolved on its own terms. Nobody sees that several tickets point at the same physical host, because the tickets are filed per VPS, not per node.
How the investigation usually goes wrong
The typical sequence goes like this:
- Support checks guest CPU, memory, and disk. CPU usage looks fine, memory has headroom, and the disk isn't full.
- Attention moves to the application: slow queries, missing cache, a heavy plugin. Sometimes those are real issues, and fixing them helps a little, which reinforces the wrong conclusion.
- The ticket closes as "optimized" or "could not reproduce," often because the slow period has passed by the time someone looks.
- The node itself is never examined, because nothing in the ticket points there.
The gap is in step 1. Most people reading top look at user and system CPU and the idle figure, and skip one column that matters on virtual machines.
Discovery: the steal column
Steal time (st in top and vmstat, %steal in mpstat) is the share of time a virtual CPU was ready to run but the hypervisor was running something else on the physical core. Inside the guest, that time doesn't count as busy, and it doesn't count as idle either. The guest simply didn't get scheduled.
This is why CPU usage looks normal. The guest's processes aren't using much CPU because they're waiting for a turn on a real core. From the customer's side, everything takes longer, and the usage graph stays calm.
On a Linux KVM guest, these read-only commands show it:
# Sample every 5 seconds, 6 times; watch the 'st' column at the far right of the cpu group
vmstat 5 6
# Per-vCPU view with a %steal column (requires the sysstat package)
mpstat -P ALL 5 3
# In top, steal appears as 'st' on the %Cpu(s) line
top -b -n 1 | head -n 5
A reading taken once, at a quiet hour, tells you little. Steal tends to follow the host's busy periods, so sample while the customer reports slowness, or leave vmstat running for a while. If you want a walkthrough of the other vmstat columns, Reading vmstat to Confirm If High CPU Steal Is Slowing Your VPS covers that in detail.
Two cautions apply. First, a small amount of steal on a shared node is normal. What matters is steal that is sustained and that lines up with the complaints. Second, if st stays near zero but wa (I/O wait) is high, you're looking at a storage problem, not a CPU one, and the next step is different. Per-disk limits are a common cause there, covered in How to Check If Proxmox Disk Throttle Limits Are Causing High iowait in a VM.
Confirming it from the host
Steal inside one guest is a symptom. To find the cause, compare what the node has promised against what it physically has. Each running VM or container holds a number of vCPUs. The node has a fixed number of logical threads. When the sum of running vCPUs is well above the thread count, it's overcommitted. That's normal and often fine, until enough guests get busy at the same time.
On the node, nproc gives the logical thread count. The Proxmox API, through pvesh, lists configured vCPUs per guest in the maxcpu field. LXC containers appear in the same list and compete for the same cores, so count them too.
Also look at how hard the node is working, not just how much it has allocated. uptime gives load averages. Compare them with the thread count, keeping in mind that Linux load also includes tasks waiting on I/O. If the kernel exposes it, /proc/pressure/cpu (pressure stall information) shows the share of time tasks were stalled waiting for CPU. That's a more direct contention signal than load average.
The Proxmox web interface shows node CPU usage over time as well. Matching its peaks against the times customers complained is often the moment the pattern becomes obvious.
Temporary mitigation
Once a node is confirmed as contended, the short-term options trade effort against disruption:
- Move one or more busy guests to a quieter node. With shared or replicated storage,
qm migrate <vmid> <target> --onlinecan do this live. Without it, a migration usually means downtime, so schedule it and tell the customer. - Limit a guest that is consistently saturating its vCPUs. Proxmox's
cpulimitand CPU units options can cap or deprioritize it. That's a change to someone's service, so it should follow your policy and be communicated, not applied quietly. - Hold new placements on that node until allocation is back in line.
None of these fixes the process. They just stop the current wave of tickets.
The fix: a weekly check per node
The structural problem is that tickets are handled per VPS while the cause lives per node. The fix is to look at nodes on a schedule, before customers do. A short read-only script is enough to start:
#!/bin/bash
# Weekly CPU contention snapshot for one Proxmox node (read-only)
# Assumes jq is installed and the node name matches 'hostname -s'
node=$(hostname -s)
threads=$(nproc)
# Sum configured vCPUs of running VMs and containers on this node
alloc=$(pvesh get /cluster/resources --type vm --output-format json \
| jq --arg n "node" '[.[] | select(.node ==n and .status == "running") | .maxcpu] | add // 0')
echo "node=node threads=threads running_vcpus=$alloc"
awk -v a="alloc" -v t="threads" 'BEGIN { printf "vcpu_to_thread_ratio=%.2f
", a / t }'
uptime
# CPU pressure, if the kernel exposes PSI
[ -r /proc/pressure/cpu ] && cat /proc/pressure/cpu
Run it on each node once a week and keep the output somewhere you can compare over time, even a shared text file. The ratio alone doesn't tell you a node is in trouble. A node full of mostly idle small sites can carry a high ratio comfortably, and one with a few busy build servers may struggle at a lower one. What you're looking for is change: a ratio that keeps climbing as guests are added, rising pressure figures, or load that sits near the thread count at the same hours every week.
Pair the host snapshot with a steal sample from one or two long-running guests you control on each node, taken at the node's busy hour. If steal rises in those guests as the ratio rises, you have your own threshold for that hardware, based on evidence rather than a number borrowed from somewhere else.
Two small process changes make the check stick. Add "steal from vmstat or top" to the first-response checklist for any slow-VPS ticket, so L1 staff collect it while the slowness is happening. And record the node name on those tickets, so repeated complaints from one host stand out instead of being closed one at a time.
The practical takeaway: when a customer says their VPS is slow but their CPU looks fine, read the st column before touching the application, then check what their node has allocated. A few minutes per node each week, comparing running vCPUs, load, and steal over time, tends to show an overloaded host well before the next round of tickets.