Managing Disk Space
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.