When a VPS feels slow or processes restart, it is often CPU saturation or the OOM Killer reclaiming RAM.
Steps
Check load and memory:
uptimefree -hnprocFind the hot process with htop or ps:
htopps aux --sort=-%cpu | headps aux --sort=-%mem | headLook for OOM events in the kernel log:
sudo dmesg -T | grep -i -E 'oom|killed process' | tailsudo journalctl -k -b | grep -i oom | tailIf a specific service fails, check its journal:
sudo journalctl -u SERVICE_NAME -b --no-pager | tail -n 80
Tips
- Load much higher than your vCPU count for minutes means a real CPU queue.
- Frequent OOM: shrink the app footprint or add RAM — swap only buys time.
ext step
Scale CPU/RAM in minutes: Deploy your Cloud VPS.