Resources and disk
This guide explains how to check CPU, memory and disk use on your VPS, and how to find what is using a full disk without deleting anything important.
Before you begin
- SSH access with a user that has sudo rights, for the commands that need it.
- The resource limits in your plan.
- A backup of anything you might need to change. See Backups, snapshots and reboot.
Steps
Check the current use
Check disk space:
bashdf -hCheck memory:
bashfree -hCheck CPU load and running processes:
bashuptime topPress
qto leavetop.
Find what fills the disk
Check the largest folders in a location, such as
/var:bashsudo du -h --max-depth=1 /var | sort -hRead the names carefully. Old log files and cached packages are often the cause. Do not delete a folder you do not recognise.
To clear old package files that are safe to remove, use the package manager's clean command:
bashsudo apt clean
Delete only what you understand
Deleting the wrong file can stop a service or lose data. If you are not sure what a file is, leave it and ask support.
Expected result
You know how much disk, memory and CPU are in use, and you know which folder uses the most space.
If something goes wrong
- The disk is full and a service fails. Free space by clearing package caches, or old logs you have checked. Then restart the service.
- Memory runs out. Check which process uses the most memory with
top. Stop only the process you know. - The use stays high. Consider a larger plan. Check the plan limits in the Client Area.
Related articles
Last reviewed
2026-10-27
