When your cPanel disk space is full, things break quietly: emails bounce with "mailbox quota exceeded", WordPress updates fail, uploads stop and databases can crash. The fix is to find what grew, remove what you do not need, and stop it filling up again. cPanel has the tools for all three.
Before you start
- Log in to cPanel from Services in the MdmHost dashboard.
- Download anything you want to keep before deleting it.
Symptoms of a full disk quota
- The cPanel sidebar shows Disk Usage at or near 100%.
- Email bounces or stops arriving; webmail cannot save drafts.
- Errors like "Disk quota exceeded" or "No space left on device" in logs.
- WordPress "Could not create directory" update errors.
Find what is using the space
- Open cPanel → Files → Disk Usage.
- Look at the table of top-level folders, sorted by size. Common culprits are
public_html,mail,.trashand backup folders. - Click a folder to drill down, or use File Manager and click the folder size column.
- Check database sizes in cPanel → Databases → MySQL Databases.
Free up disk space
- Delete old backups stored inside your account (for example
backup-*.tar.gzin the home folder or plugin backup folders likewp-content/updraftorai1wm-backups). MdmHost already takes daily JetBackup copies outside your quota. - Empty the File Manager trash: File Manager → Trash → Empty Trash.
- Remove large error logs. Huge
error_logfiles appear in site folders when a script throws errors constantly. Fix the error (see PHP errors and error_log), then delete the file. - Clear cache folders such as
wp-content/cacheorlitespeedthrough your cache plugin. - Clean up mailboxes. In Email Accounts, sort by usage. Empty Trash and Spam folders, or use Email Disk Usage to delete old messages in bulk. See mailbox full.
- Optimise databases by removing post revisions, spam comments and expired transients on WordPress.
Note: Disk space and inodes are separate limits. Thousands of tiny cache or session files can hit the inode limit while disk usage looks fine.
Stop it happening again
- Store website backups off-account or rely on JetBackup instead of plugin backups.
- Set mailbox quotas and auto-delete rules for Spam and Trash.
- Fix recurring PHP warnings so
error_logdoes not grow. - If your site legitimately needs more space, upgrade the plan from the dashboard.
FAQ
Why does disk usage not drop after deleting files?
Files may be in the trash, or the usage figure updates after a short delay. Empty the trash and recheck later.
Do emails count towards disk space?
Yes, all mailboxes are part of the account's disk usage.
Is it safe to delete error_log files?
Yes, they are just logs. Fix the errors that create them first.
