Keep your hosting account running smoothly by managing disk usage.
Check Current Usage
- cPanel: See disk usage on the right sidebar or go to Disk Usage
- DirectAdmin: Check Account Manager โ Domain Usage
Common Space Consumers
- Email accounts โ Old emails with attachments
- Backups โ Old backup files left in the account
- Logs โ Access and error logs growing over time
- Trash/Junk โ Deleted files still in trash
- Database โ Large or unoptimized databases
Freeing Up Space
Clean Email
- Delete old emails with large attachments
- Empty Trash and Junk folders
- Set up auto-purge for trash (30 days)
Remove Old Backups
- Delete manual backups from
/home/username/ - Old cPanel backups often end in
.tar.gz
Clean Logs
- In cPanel โ Metrics โ Raw Access โ delete or archive old logs
- Disable raw log archiving if not needed
Optimize Databases
- In phpMyAdmin โ Select database โ Check all tables โ Optimize
- Remove unused tables or data
Find Large Files
Via SSH:
du -sh /home/username/* | sort -rh | head -20
find /home/username -size +50M -type fUpgrading
If you consistently need more space, consider upgrading your hosting plan through your dashboard.