Skip to content
0850 554 5439 [email protected]

What do you need help with?

Search the guides and tutorials, or browse the categories.

My hosting disk space is full: find large folders in cPanel and clean up safely

Shared Hosting 32 views Step-by-step guide Last verified: Markdown
What you will learnHow to see how much of your disk space is used, how to find which folder takes the space with the Disk Usage tool, and how to safely clean up old email, backup files and the trash.
Time10 minutes

1. What happens when the disk is full?

Your hosting plan has a disk space limit. When it is reached, no new data can be written, and you usually see one of these:

  • Email can't be received; the sender gets a "quota exceeded" bounce.
  • A WordPress update, plugin installation or file upload stops halfway.
  • The site can't write to its database and shows errors; forms don't save.

First find what is taking the space, then clean up starting with the biggest item.

The six items that use the most disk space, where to see them in cPanel and how to clean up each one safely.
Warning

Deleted files don't come back. Download anything you are unsure about to your computer, or take a fresh backup first.

2. Check your usage

  1. Open the cPanel home page.
  2. In the Statistics panel on the right, look at the Disk Usage row. It shows the space you use and your plan's limit; the colour turns yellow and red as you get close.
  3. The Database Disk Usage row shows the space used by your databases separately.
The Disk Usage row in the Statistics panel on the cPanel home page shows the space used and your plan's limit.

3. Step by step: find what takes space and clean it up

3.1 Which folder is full?

  1. Open Disk Usage in the Files section.
  2. The table at the top shows the size and a bar for each location. Start with the longest bar:
    • Files in home directory: individual files in the account's main folder; often backup archives.
    • public_html/: your website's files.
    • Email Accounts: your mailboxes.
    • Databases: your databases.
Files → Disk Usage shows which folder holds the space. Start with the rows that have the longest bar.
  1. At the bottom of the page, choose Disk Usage for Sort directories by. The largest folder moves to the top.
  2. Click the arrow to the left of a folder name to go into subfolders and find the folder that really takes the space (for example public_html/wp-content/uploads).
At the bottom of the same screen choose Sort directories by → Disk Usage; the largest folder moves to the top and you can open subfolders with the arrow.

3.2 Clean up old email

Mailboxes are the item that fills up most often, especially messages with large attachments and Trash and Junk folders that are never emptied.

  1. Open Email Disk Usage in the Email section.
  2. Choose the mailbox in the Account list. Its folders are listed with the number of messages and the space they use.
  3. Click Manage next to the folder you want to clean.
  4. In Messages to delete, choose what to delete: for example 1 year old or more, or All messages for the Trash folder only.
  5. Press Delete Permanently.
Email → Email Disk Usage: choose the mailbox, click Manage next to a folder, pick which messages to delete and press Delete Permanently.
Warning

This deletes messages permanently; copies in your mail app also disappear once it syncs with the server. Archive the messages you want to keep to your computer first.

3.3 Download and delete backup files

Full backups you create with the cPanel Backup tool are saved in your home directory as backup-date_accountname.tar.gz and count towards your quota. .zip and .tar.gz files left over from old site migrations have the same effect.

  1. Open File Manager and click the house icon at the top of the tree on the left (your home directory).
  2. Find large files starting with backup- or ending in .zip or .tar.gz.
  3. Select the file and save it to your computer with Download.
  4. When the download is complete, select the file and press Delete.
Full backups created with the Backup tool stay in the home directory as backup-date_account.tar.gz and count towards your quota. Delete them after downloading.
Info

On Türkiye cPanel plans, accounts are backed up automatically every day and every week; however, accounts with a total size above 2 GB fall outside the automatic backup scope (Backup Agreement). Keeping your account small by removing unnecessary files also lets you keep benefiting from automatic backups.

3.4 Empty log files and the trash

  1. If there is a large error_log file in your site's folders, delete it after fixing the error (see B41).
  2. Files you delete in File Manager go to the trash first and keep using space. Look inside with View Trash, then press Empty Trash.
Files you delete in File Manager go to the trash first and still use space. Use Empty Trash to actually free it.

3.5 Site and database side

  • In WordPress, delete themes and plugins you don't use; review plugins that create many sizes of the same image.
  • If a caching plugin's folder has grown large, use the plugin's own clear cache command; don't delete the folder by hand.
  • Old post revisions and session records pile up in the database; clean them with the software's own maintenance tool.

4. How do I confirm it's fixed?

  • Refresh the Disk Usage row on the cPanel home page. If the number doesn't drop at once, check again in a few minutes; values on the Disk Usage screen may also update with a delay.
  • Send yourself an email and check that it arrives.
  • Retry the WordPress update that stopped halfway.

5. Symptom → cause → fix

Symptom Likely cause Fix
Email doesn't arrive; the sender gets "quota exceeded" The account's or that mailbox's quota is full Delete old messages with Email Disk Usage; check the mailbox's own quota in Email Accounts
I deleted in File Manager but no space was freed The files are in the trash Empty Trash
Large .tar.gz files in the home directory Old full backups Download and delete them (Section 3.3)
public_html is much bigger than expected Upload folder, old copies of the site, archives Go into subfolders in Disk Usage; delete old copies
I cleaned up but the number didn't change Values update with a delay Wait a few minutes and refresh; if it persists, open a support ticket
It keeps filling up The site has genuinely grown Move to a higher plan (A07)

6. Frequently asked questions

How much disk space do I have exactly?

It depends on your plan. You can see your current limit in the Statistics panel on the cPanel home page, and each plan's disk space on the plan cards on the hosting page.

Does my mailbox have a separate quota?

Each mailbox can have its own quota, and these quotas are part of your account's total space. When a mailbox fills its own quota, it stops receiving messages even if the account still has space.

Is there also a file count (inode) limit?

Yes; the plan cards also list a file count (inode) value. Many small files (cache, session files) can fill this limit before the space runs out; the clean-up steps are the same for both.

If I delete the backup, will my site have no backup?

You only delete the copy on the server; if you downloaded it first, you still have the backup. For the scope of automatic backups, see the conditions on the hosting page and in the Backup Agreement.

What is the fastest way to get more space?

If cleaning up is not enough, move to a higher plan. You can open a support ticket or follow the steps in guide A07.

Did you know?

Instead of keeping large archives and old backups in your hosting quota, you can move them to Gyro Object Storage (S3). Your data stays in Türkiye, and your hosting space stays free for your site.

  • B41 — My site won't load: 500 Internal Server Error (the error_log file)
  • B42 — 503/508 "Resource Limit Reached": resource limits
  • B50 — Visitor statistics and logs
  • A07 — Upgrading your plan and buying add-ons
  • A08 — Opening a support ticket
Was this helpful?

Thanks for your feedback!

Still Need Help?

The support team is here around the clock for anything you can't find in the knowledge base.