Inodes: why file count matters
An inode is a record for one file or folder, whatever its size. Your account has a cap on how many it may hold. A site with 200,000 tiny cache files can hit the cap long before it fills the disk.
Limits
Essential allows 250,000 files and folders. Your own limit and current count show under Account → Hosting → your site → Overview → Usage → Files and folders, and under Performance → Resource usage.
The limit is a hard stop. When you reach it you can't create files. Uploads fail, email may stop arriving, and backups may error.
Check your usage
Open Account → Hosting → your site → Overview → Usage → Files and folders. It shows your count against your limit, for example 6.2k of 250k.
To see which folders hold the most files, count them over SSH, which comes with Business and Pro. Add a key in Developer, then run:
# Count files in each top-level folder
for d in ~/*/ ~/.[a-z]*/; do printf "%8d %s\n" "$(find "$d" 2>/dev/null | wc -l)" "$d"; done | sort -nr | head
Usual causes
| Cause | Fix |
|---|---|
Plugin cache folders (wp-content/cache) |
Purge in the plugin, or delete the folder |
| Years of email | Delete old mail and empty Trash and Junk |
| Many thumbnails | Remove unused image sizes with a plugin |
node_modules |
Build elsewhere and upload the output |
Old sessions in tmp |
Delete files older than a few days |
| Forgotten staging and backup copies | Delete them |
Delete safely in bulk
# Delete cache files older than 7 days (check the path first)
find ~/public_html/wp-content/cache -type f -mtime +7 -delete
Run ls on the folder before deleting, and don't point find ... -delete at a folder you haven't checked.
If you keep hitting the limit
Contact support, and we'll look at what is generating files. Related: See what's using your storage.
Still stuck? Ask us and we'll walk you through it.
