
Uploads fail, updates stall, and cPanel warns “Disk quota exceeded.” A disk quota exceeded fix is part cleanup, part detective work: something is eating your hosting space, and you need to find it before you can decide whether to delete or upgrade. This 2026 guide shows where the space goes on cPanel hosting and how to reclaim it.
Here is what the quota covers. Your hosting plan allocates a fixed amount of disk — everything counts: website files, databases, email, logs, backups, and caches. When usage hits 100%, writes fail everywhere: uploads, plugin updates, email delivery, even session files. The site often looks “broken” in confusing ways before anyone checks disk space — which is why disk usage should be one of your first checks for mysterious failures.
What Eats Your Disk Quota
- Old backups: forgotten
.zip/.tar.gzarchives, sometimes gigabytes each. - Error logs:
error_logfiles ballooning from recurring PHP errors. - Cache folders: caching plugins and CMS caches accumulating stale files.
- Email: years of mail with attachments on the server.
- Media uploads: unoptimised images and unused uploads in
wp-content/uploads. - Inodes: too many small files (sessions, cache fragments) exhausting file count even with space free.
How to Fix Disk Quota Exceeded: 8 Steps
Step 1: Find the hogs with Disk Usage
cPanel → Files → Disk Usage shows per-directory consumption, sorted largest first. This tells you exactly where to look instead of guessing. Note both megabytes and file counts (inodes).
Step 2: Delete old backups and archives
Remove stale .zip, .tar.gz, and .sql files from public_html and home directories. Keep one recent off-site backup; delete the rest. A single forgotten full backup can be half your quota.

Step 3: Truncate runaway error logs
A recurring PHP error can grow error_log to gigabytes. Delete or truncate it (> error_log via SSH), then fix the underlying error — our PHP warnings guide helps — or the log regrows.
Step 4: Purge caches properly
Clear caching plugin caches, then check for orphaned cache directories from uninstalled plugins. Also clear expired transients in the WordPress database — they accumulate silently.
Step 5: Clean up email
Archive or delete old mail with attachments (see our mailbox full guide). Email is frequently the surprise quota hog on business hosting.
Step 6: Optimise the media library
Delete unused uploads, compress images (WebP conversion often halves sizes), and remove duplicate thumbnails from changed image sizes. A media-cleaner plugin can find unattached files — review before deleting.
Step 7: Check inodes
If Disk Usage shows free megabytes but writes still fail, you are out of inodes. Via SSH, df -i confirms. Delete directories with huge file counts: session folders, cache fragments, and spam-filled maildirs.
Step 8: Upgrade when cleanup is not enough
If legitimate content fills the plan after cleanup, upgrade. Chronic quota pressure causes cascading failures — a bigger plan is cheaper than the downtime. Ask your host about inode limits too, not just gigabytes.
How to Prevent Quota Problems
- Check Disk Usage monthly — five minutes prevents emergencies.
- Keep backups off-site, not on the hosting account.
- Fix recurring PHP errors promptly so logs stay small.
- Set email archiving policies instead of infinite retention.
- Compress images on upload with an optimisation plugin.
Conclusion
Disk quota exceeded means find the hogs first: old backups, runaway logs, stale caches, and email are the usual suspects — delete what is safe, fix what regrows, and upgrade when the site genuinely outgrows the plan. Monthly disk checks keep this emergency from ever recurring. For more hosting fixes, browse the KamiWeb blog.
