A full disk can stop databases, websites and email. Find the cause with these commands:
df -h # free space per partition sudo du -xh / --max-depth=1 | sort -h # largest folders sudo journalctl --disk-usage # size of system logs
Common causes
- Large log files in
/var/log– clean them withsudo journalctl --vacuum-size=200Mand configure logrotate. - Old backups stored on the server itself.
- Docker images and volumes – check with
docker system df. - Package caches –
sudo apt clean.
Need more space permanently? Upgrade your VPS storage or choose a dedicated server with larger disks.