HostSlim

My disk is full. How do I find out what is using the space?

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 |…

  • VPS

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 with sudo journalctl --vacuum-size=200M and 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.

More from the knowledge base

Need something that is not on the list?

Custom builds, private VLANs, BGP sessions, multi-rack deployments. Tell us what you are running and an engineer replies, usually within the hour.