How to Fix a Full Disk Quota in cPanel and Free Up Hosting Space
- A. MounesiAuthor
- Release Date
- 5 minutesReading time
- 6Views
- A. Mounesi
- Published:
- 5 min read
- 6 views
You upload an image in WordPress and it won’t save, new emails stop arriving in your inbox, and cPanel warns you in red that your hosting space is almost full; the error log or your FTP program may even say “Disk quota exceeded”. And you know your site isn’t that big! Usually you’re right: the space has been filled by things you don’t see, like old backups, log files, cache and emails from years ago.
In this guide you’ll fix a full disk quota in cPanel step by step: first you find out with the Disk Usage tool where the space went, then you free it up section by section, from files and email to databases.
Short answer: in cPanel, open the Disk Usage tool in the Files section to see which folders, mailboxes or databases take the most space. Old backups kept on the host, error_log files, cache folders and old emails are usually to blame. Files you delete in File Manager go to the trash and keep taking space until you click Empty Trash.
What uses up your hosting space?
The disk quota is the space your hosting plan gives your account, and everything takes from that same share: the files of all your sites and subdomains, mailboxes, databases, logs and every backup you’ve made on the host. When the quota is full, file uploads, saving settings, incoming email and even making a new backup stop working.
1. Find out where the space went
Log in to cPanel (if you don’t know the address, see How to Log In to cPanel). In the Statistics column, the Disk Usage figure shows your current usage. For the details, click Disk Usage in the Files section.

This page shows the size of the main folders, email and databases side by side. At the bottom of the page, open the folder list and follow the largest branch until you reach the folder to blame.

2. If files take up the most space
Open the large folder in File Manager and sort the files by the Size column. These are the most common culprits:
- Old backups kept on the host: zip or tar.gz files in public_html or in backup plugin folders such as wp-content/updraft or wp-content/ai1wm-backups. Download the copy you need, open it on your computer to make sure it’s intact, then delete it from the host.
- error_log files: PHP writes errors to a file called error_log, and if an error keeps repeating, this file grows to several gigabytes. Delete it, but also find the cause of the error, or it will grow again.
- Cache: empty wp-content/cache and similar folders from the cache plugin’s own settings, not by hand.
- Unused media: check the large images and videos in uploads under Media → Library in WordPress, and only delete a file that isn’t used in any post, page or product.
- Old copies of the site: folders like old or backup left over after a redesign.
Remember that files you delete in File Manager go to the trash (the .trash folder) and still take up space. Once you’re sure you haven’t deleted anything by mistake, click Empty Trash under View Trash; this can’t be undone.
3. If email has filled the space
Open Email Disk Usage in the Email section, choose the large mailbox and empty folders such as Trash and Spam, or messages older than a given date. If you read email over IMAP in a program like Outlook, deleting a message there only frees space on the host once that mailbox’s trash is emptied too.
4. If a database has grown large
See the size of each database in MySQL Databases. In WordPress, plugin log tables, old post revisions and temporary data (transients) make the database large. Back up the database before any cleanup, then remove the extra data with a trusted cleanup plugin or from the settings of the plugin that’s taking the space.

5. If there’s free space but you still get errors
- Number of files (inodes): on CloudLinux hosts, the number of files and folders is limited too, and it shows in Statistics as File Usage. Thousands of small cache or session files can reach this limit.
- Upload size: if only large files fail to upload, space isn’t the problem; see How to Increase the PHP Upload Size in cPanel.
FAQ
I deleted files but the Disk Usage figure didn’t drop. Why?
Either the files are still in File Manager’s trash, or cPanel hasn’t updated the figure yet. Click Empty Trash and look again a few minutes later.
Should I free up space or upgrade my hosting?
Free up the wasted space first; half the quota may come free right there. If after the cleanup the site’s real files and email fill the quota, it’s time to upgrade.
More space on HiData hosting
On HiData’s hosting, whenever you run short of space, you upgrade to a bigger plan from your client area, automatically and without downtime. Does your site have large downloadable files? Put them on our file hosting and keep your professional cPanel hosting space for the site itself!


