> ## Documentation Index
> Fetch the complete documentation index at: https://kb.hosting.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Is Your Hosting Account Full? A Simple Guide to Disk Space and File Limits

Your hosting account has two separate limits, and either one can fill up:

* **Disk space** is how much room your files take up, measured in GB. Think of it as the size of a storage box.
* **File count** (also called inodes) is how many files and folders you have, no matter how small each one is. Think of it as the number of items in the box.

Why does this matter? Because you can run out of one without running out of the other. A website with hundreds of thousands of tiny cache files can hit its file limit while barely using any disk space. When either limit is reached, strange things start happening: emails stop arriving, uploads fail, and your website shows errors.

The good news: checking both takes about one minute, and you do not need any technical skills.

## Step 1: Check your usage

Log in to cPanel.

Look at the panel on the right-hand side of the page, labelled **Statistics**.

Find these two rows:

* **Disk Usage**, shown like `4.82 GB / 10 GB`
* **File Usage**, shown like `48,901 / 250,000`

That is your usage and your limit, side by side. As a rule of thumb:

* **Under 70% of the limit:** you are fine.
* **70% to 90%:** time to do some cleanup soon.
* **Over 90%:** clean up now, before things start breaking.

These numbers refresh every few hours, not instantly. If you just deleted a lot of files, give it some time before checking again.

## Step 2: Find out what is taking up the space

1. In cPanel, find the **Files** section and click **Disk Usage**.
2. You will see a chart of your folders, with the biggest ones at a glance.
3. Scroll down to the folder list at the bottom. Click the small arrow next to any folder to open it and see what is inside.

Keep clicking into the biggest folder at each level. Within a few clicks you will usually land on the culprit.

### Optional: The same check using the terminal

If you are comfortable copying and pasting a couple of commands, the terminal gives you the same breakdown faster, and it is the only way to see a breakdown by file count. Skip this section if it is not for you; the clicking method above works fine.

Open the terminal. In cPanel, go to the **Advanced** section and click **Terminal**. A black window opens, ready for you to type. (If you know how to use SSH, that works too. The commands are the same.)

**See which folders use the most disk space.** Paste this and press Enter:

```text theme={null}
du -sch "${PWD}/".[!.]* "${PWD}/"* 2>/dev/null | sort -h
```

```text theme={null}
24K     /home/john123/.ssh
36M     /home/john123/tmp
112M    /home/john123/mail
340M    /home/john123/.cache
1.2G    /home/john123/public_html
1.7G    total
```

The list is sorted smallest to largest, so the biggest folder is always just above the total. Sizes are shown in K (kilobytes), M (megabytes), and G (gigabytes).

**See which folders contain the most files.** Paste this and press Enter:

```text theme={null}
du --inodes -h --max-depth=1 . 2>/dev/null | sort -h
```

```text theme={null}
412     ./tmp
3.8K    ./.cache
19K     ./mail
210K    ./public_html
232K    .
```

These numbers are file counts, not sizes. `19K` means roughly 19,000 files and folders inside `mail/`. The bottom line is your total.

> **Note:** The `--inodes` option isn't available on every system — it depends on which version of `du` your host has installed. If you paste the command and get an error instead of a file count, use this fallback instead, run separately for each folder you want to check:
>
> ```text theme={null}
> find public_html -type f | wc -l
> ```

**Zoom in on the biggest folder.** Type `cd` followed by the folder name, press Enter, then run the same command again:

```text theme={null}
cd public_html
du --inodes -h --max-depth=1 . 2>/dev/null | sort -h
```

Repeat until you find the folder actually holding all the files. The same trick works with the disk space command.

**Bonus: list your 20 largest files in one go:**

```text theme={null}
find ~ -type f -exec du -h {} + 2>/dev/null | sort -rh | head -20
```

That is all the terminal you need. These commands only read information; they cannot delete or break anything. When you know what to remove, do the deleting in File Manager as described below.

### The most common causes, in order:

1. **Old backup files.** Look for `.zip` or `.tar.gz` files from old migrations or backup plugins. These are usually the single biggest space users.
2. **Old emails.** Email accounts nobody checks anymore can quietly hold years of messages. Every single email also counts as one file.
3. **Old copies of your website.** Folders with names like `public_html.bak`, `old`, `backup`, or `test` left over from a redesign.
4. **Cache files.** WordPress caching and image plugins can create hundreds of thousands of small files. These are the usual cause of a full file limit.
5. **Log files.** Files ending in `.log` that have grown for years.

## Step 3: Clean up safely

Before deleting anything, download a copy to your computer first. In File Manager, right-click the file and choose **Download**. If it turns out you needed it, you still have it.

Then, in order of impact:

1. **Remove old backup archives.** In cPanel, open File Manager, find those `.zip` and `.tar.gz` files, download them to your computer, then delete them from the server.
2. **Clean out old email.** In cPanel, go to **Email Accounts**. Delete accounts nobody uses anymore, and empty the Trash and Spam folders of the ones you keep.
3. **Delete old website copies.** If you find a folder like `public_html.bak` and your current site works fine, download it as a backup and remove it.
4. **Clear your website cache.** If you use WordPress, clear the cache from inside WordPress using your caching plugin's own button, rather than deleting folders by hand — the plugin will rebuild things correctly. If a plugin's button isn't working, it's usually safe to manually delete the contents of `wp-content/cache` directly; WordPress and most plugins will simply regenerate it as needed.
5. **Empty the Trash.** Deleted files in File Manager go to a Trash folder and still count against your limits. Click **Empty Trash** in File Manager when you are done.

After the cleanup, remember the Statistics numbers take a few hours to update. Do not worry if they look unchanged right away.

## For resellers: checking all your customer accounts at once

If you have a reseller plan, you can see every account's disk usage on one screen instead of logging in to each one:

1. Log in to WHM (the address usually ends in `:2087`).
2. Type **Quota** in the search box at the top left and click **Quota Modification**.
3. Scroll to the bottom and click **Show All Accounts**.

You will see every account with its disk usage next to its limit. If a customer's account is full, you can type a new, higher limit next to it on this same page and save.

To look inside a specific account, go to **List Accounts** in WHM and click the cPanel icon next to it. This opens that account's cPanel directly, where you can use the same Disk Usage tool from Step 2.

## When to contact support

Get in touch with our support team if:

* Your usage looks fine but emails or uploads are still failing.
* You cleaned up but the numbers have not gone down after a day.
* You are not sure whether a file or folder is safe to delete. Ask first, delete second.
* You genuinely need all your files and simply need a bigger plan.

We are happy to take a look with you.

## Quick summary

* Your account has two limits: disk space (GB) and file count (number of files). Check both in the cPanel Statistics panel.
* Use cPanel's Disk Usage tool to click your way to whatever is taking up the room, or paste the two terminal commands for a faster breakdown of both size and file count.
* The usual suspects: old backups, old emails, old site copies, and cache files.
* Download before you delete, empty the Trash afterwards, and give the numbers a few hours to refresh.
