cPanel accounts have two storage limits: the disk quota (how many megabytes you store) and inodes, shown as File Usage (how many files and folders you have). Every file, folder, email message and cache entry uses one inode. When either limit is reached, the account behaves as if the disk is full.
Before you start
- Look at the Statistics panel on the cPanel home page. Disk Usage and File Usage show current use and the limit of your plan.
What happens at the limit
- Uploads and plugin updates fail with "Disk quota exceeded".
- New email is not delivered and bounces with a quota error.
- Sessions and caches cannot be written, so logins and carts break.
- cPanel itself may show errors or fail to save settings.
Find folders with many files
The Disk Usage tool shows size, not file count. To count files per folder, open Terminal and run:
for d in ~/* ~/.[!.]*; do echo "$(find "$d" | wc -l) $d"; done | sort -n | tail -15Then drill into the biggest folder, for example:
for d in ~/public_html/wp-content/*; do echo "$(find "$d" | wc -l) $d"; done | sort -nCommon causes and fixes
| Cause | Fix |
|---|---|
Page cache folders (wp-content/cache, lscache) | Purge cache; set a sensible cache lifetime |
PHP sessions in tmp | Remove old files; usually cleared automatically |
| Mail: thousands of messages, especially in Spam and Trash | Clean with Email Disk Usage; enable Spam auto-delete |
| Old backups and unpacked archives | Download and delete |
| Unused test installs and staging copies | Remove them, e.g. with Softaculous Remove |
node_modules or vendor folders | Delete ones not needed at runtime; build locally |
| Image thumbnails generated in many sizes | Disable unused sizes, regenerate thumbnails |
Warning: Do not delete files you do not recognise in etc, mail, .cpanel or ssl. They hold your account configuration. Ask support if unsure.
Remove many files quickly
File Manager is slow for tens of thousands of files and sends them to Trash first. In Terminal, removing a cache folder is instant:
rm -rf ~/public_html/wp-content/cache/*Double-check the path before pressing Enter. Remember that File Manager deletions go to .trash, which still counts until you empty it.
Keep usage low
- Store backups off the account (download them, or rely on MdmHost's daily JetBackup).
- Delete spam regularly and set mailbox quotas.
- Remove unused plugins, themes and old sites.
- If your site simply needs more, move to a bigger plan on the web hosting page.
