If your WordPress host says you’ve hit the inode limit and your disk meter is only half full, check the file count. A 2 KB thumbnail, a folder, and a 2 GB backup each take roughly one file or directory entry on a typical shared hosting account. The backup is a disk-space problem. A forest of tiny files is usually the inode problem.
Find which directory is doing the damage
Start in your host’s usage dashboard and check whether the figure covers one site or the whole account. On a shared plan, an abandoned staging install can stop a completely different site from uploading. SiteGround exposes this figure in Site Tools and the hosting plan statistics. Other hosts use labels such as File Usage or Inodes. Compare that figure with the cap on your own account. SiteGround’s inode usage guide
If you have SSH on a GNU/Linux host, go into the intended site’s root and look at the first two directory levels. Running this once on a representative account is useful. Running it across several busy accounts at once makes the host do a lot of work.
du --inodes -x --max-depth=2 . | sort -nr | head -25
That command counts directory trees. A parent row includes all its children, so adding every row together will double-count the files. Your host may count files outside the site root too, including mail and staging directories.
Choose the cleanup by what you found
| Heavy folder | First thing to check |
|---|---|
| Local backup or staging folder | Can you name a working restore point outside this account? Keep the rollback copy before retiring redundant exports or staging installs. |
| Cache directory | Identify who writes it. Purge through the cache tool, then measure whether files grow right back. Retention and preload settings matter more than a one-off purge. |
wp-content/uploads | Pick an old attachment and count its sibling crops. Treat a directory of small thumbnails as a usage investigation, especially if you have changed themes. |
| Plugin directories | Check active, inactive, must-use, and network plugins. Staging is the right place to find out what a shortcode or form depends on. |
| Mailbox folder | Check account-level mail counts and retention. The WordPress dashboard may tell you nothing about this part of the quota. |
Why image compression may barely move the count
A 600 KB JPEG replaced by a 180 KB WebP is still one file. If an optimizer creates a new file and keeps the JPEG alongside it, you can save transfer bytes while increasing disk use and inode use. Check what actually exists on disk before buying another compression plugin. See how to audit WordPress thumbnail files and how to choose a WebP conversion strategy.
Prove the account recovered
Record file count and disk space separately, then refresh the hosting statistics after they update. Try an image upload, open a page with new and old images, and check the next scheduled backup. If the count jumps back in a day, inspect the directory that grew. That points you toward the thing generating files while you’re away.
For the public-facing side of the job, use the WordPress maintenance checklist. It gives you a short list of pages to check after working inside the account.