21+ years in hosting · Jaipur, India · INR billing with 18% GST · 24/7 email support
Blog · WebJi® India

Reduce Inode Usage in cPanel

Quick answer

Inodes count files, not megabytes: every file, folder and email uses one. In cPanel the count shows as File Usage. Find the heaviest folder with du --inodes in Terminal, then clean in order: old mail and Trash, caches, backup archives, unused installs and logs. Free disk space does not help once the inode limit is reached.

For cPanel users whose uploads, plugins or email have failed because the account hit its file-count limit.

✓ In business since 2005
✓ INR + GST billing
✓ 24/7 Email Support — avg reply < 60 min
GuideWebJi®
knowledge
Read time
4 min
Sections
6
Updated
14 Nov 2026
Written by
WebJi® team

What is inode usage in cPanel, and why can it fill up when disk space is free?

An inode is the filesystem record for one file, folder, email message or link, and cPanel accounts have an inode limit that is separate from the disk quota. Twenty thousand small emails use twenty thousand inodes but little space; one large video uses one inode and a lot of space.

In cPanel the count appears in the Statistics panel as File Usage. When it nears the limit, uploads fail, plugins cannot write cache files and incoming mail may be refused, even though Disk Usage looks healthy. The filesystem side is explained in what an inode is.

How do you find which folder uses the most inodes?

Open cPanel → Advanced → Terminal and run du --inodes on your home directory; it lists file counts per folder, including hidden ones such as .cache and .trash. Then repeat inside the biggest folder until the count is concentrated in one path.

# File counts for each top-level folder in your home directory, largest last
du --inodes --max-depth=1 ~ 2>/dev/null | sort -n | tail -15

# Drill down, for example into mail or public_html
du --inodes --max-depth=1 ~/mail 2>/dev/null | sort -n | tail -15
du --inodes --max-depth=2 ~/public_html 2>/dev/null | sort -n | tail -20

If du on your server lacks --inodes, this loop gives the same answer: for d in ~/*/ ~/.[!.]*/; do echo "$(find "$d" -xdev 2>/dev/null | wc -l) $d"; done | sort -n | tail. Without Terminal access, ask support for a per-folder count.

Which folders usually cause high inode usage?

Five places account for most inode warnings on shared accounts: mailboxes, mail Trash and Spam, page-cache folders, old backup archives and forgotten second installs. The path tells you which cleanup to run.

Common inode-heavy paths and the safe fix for each
PathWhat it holdsFix
mail/domain/user/cur and newOne file per delivered messageEmail Disk Usage, delete by age
mail/…/.Trash, .spam, .JunkDeleted and filtered mailEmpty them
public_html/wp-content/cacheOne cached file per URL and devicePurge from the cache plugin
wp-content/uploadsEach image plus every generated sizeRemove unused image sizes, then regenerate
Backup folders and .zip/.tar.gz filesRepeated full-site archivesDownload one, delete the rest
public_html/old, staging, testA second CMS installArchive and delete

How do you clean email to reduce inodes?

Use cPanel → Email → Email Disk Usage to delete messages by rule, such as everything older than a year, and empty Trash and Spam for every mailbox. Start here because mail is often the biggest count and IMAP users already hold copies in their mail apps.

  1. Open Email Disk Usage and select the mailbox the audit flagged.
  2. Review the per-folder message counts.
  3. Pick a deletion preset (for example, messages older than a year, or Trash and Spam older than 30 days) and confirm.
  4. Archive anything you must keep to a local folder in your mail client first.
  5. Re-run the du --inodes command; the mail line should fall by thousands.

Automatic alerts and notifications are the usual source; route them to a separate mailbox with an auto-delete rule.

How do you clean website files without breaking the site?

Take a backup, then remove old archives, purge caches from the plugin, delete unused installs, themes and plugins, and trim logs — in that order. Deleting live files by hand is how a cleanup turns into a 500 error.

  1. Download a full backup or a copy of public_html; see the cPanel full backup guide.
  2. Delete archives older than your last good restore point.
  3. Purge the page cache from the caching plugin's settings, not by deleting folders while the site runs.
  4. Remove inactive themes, plugins and test installs; uninstalling WordPress cleanly covers leftover databases.
  5. Delete or truncate large error_log files and wp-content/debug.log, then fix the errors filling them.

For a session-cache folder that refills constantly, check that the plugin's cleanup cron actually runs.

When should you move to a bigger plan or a VPS instead?

When the files are genuinely needed — years of business mail or a large product catalogue — cleaning is a short-term fix and the account needs a higher allowance or a different product. A VPS has no per-account inode cap beyond the filesystem itself.

  • Move a second site or a staging copy to its own account.
  • Move heavy mail to dedicated business email hosting so it stops counting against the web account.
  • Keep backups off the hosting account; a backup on the same disk is both a weak copy and thousands of inodes.
  • For growing stores or many sites, compare a VPS, which starts at ₹499 a month before 18% GST.

WebJi® cPanel hosting sets an inode allowance per plan; email support@webji.services (24/7, Hindi and English, average first reply under 60 minutes) with your plan name to confirm the exact figure for your account.

FAQ

Frequently asked questions

Do deleted emails still count as inodes?

Yes, until the Trash folder is emptied. Messages moved to Trash are still files on the server. Empty Trash and Spam in webmail or through Email Disk Usage to release them.

How quickly does the cPanel File Usage figure update?

The Statistics panel is refreshed periodically, so it can lag a cleanup by a while. The du --inodes command in Terminal shows the live count immediately and is the better check while you work.

Can a caching plugin cause an inode problem?

Yes. Some create separate files for every URL, device type and query string, and a crawler can generate thousands. Exclude query-string URLs from caching, set a cache lifespan, and make sure expired files are actually removed.

Will deleting image thumbnails break my WordPress site?

Not if you remove only sizes the current theme does not use and then regenerate thumbnails with a plugin. Deleting files manually inside uploads can leave broken images in old posts, so always use a regeneration tool.

Last editorial update: 15 November 2026. Prices follow the dated sources on this page; checkout confirms current charges.

WebJi® since 2005

Ready to get started with WebJi®?

Join 12,000+ businesses across India and overseas. INR pricing, 18% GST shown before payment and 24/7 email support in Hindi and English — average first reply under 60 minutes.