VPS disk is full: what to delete
When the disk is full, databases, email and the panel stop working. First find what took the space, and only then delete.
How much is free
df -h /The same in the panel: "Navigation board" → "System information".

What took the space
du -xh --max-depth=1 / 2>/dev/null | sort -h | tail -15
du -xh --max-depth=1 /var 2>/dev/null | sort -h | tail -10
du -sh /var/www/*/data/www/* 2>/dev/null | sort -h | tail -10| Folder | What is there | What to do |
|---|---|---|
/var/log | system logs | journalctl --vacuum-size=200M; old *.gz can be deleted |
/var/www/httpd-logs | site logs | clear big *.log: truncate -s 0 file (deleting the file does not free space while the web server holds it) |
/usr/local/mgr5/var/backup | temporary panel backup files | check the backup storage: copies must go to backup.vps-dns.info |
/var/cache/apt, /var/cache/dnf | package cache | apt clean / dnf clean all |
/var/lib/docker | Docker images and containers | docker system prune — removes stopped containers and unused images |
/var/lib/mysql | databases | big log tables in site databases (statistics, plugin logs) — clean them in the CMS |
/var/www/*/data/email | ask mailbox owners to delete old messages or set mailbox quotas |
Do not delete files in /var/lib/mysql, /usr/local/mgr5 and system folders manually — you will break the databases and the panel.
If space is constantly short
Contact support — we will tell you how to increase the VPS disk.