Too many files: inode limit of the account reached
On this page
Besides disk space, a plan can limit how many files and folders (inodes) your home folder may hold. Every file counts once, whatever its size, so thousands of tiny cache or session files can reach the limit while plenty of space is left.
Symptoms
Disk quota exceedederrors although Disk space is far from full.- Resource Usage shows Files and folders close to or at its limit, with the warning "Your account is close to its limit of files and folders. New files (uploads, email attachments saved by websites, cache files) may fail."
- Site Check marks Files and folders as Problem.
Causes
Most likely first:
- Cache folders of the website (page cache, image thumbnails, compiled templates).
- PHP session files in
~/tmpthat are never cleaned up. - Old copies of websites, unpacked backups or
node_modules/vendorfolders you no longer use. - Many small uploads (for example a shop with many image sizes).
Fix
Find the folders with many files
- Disk Usage (section Files) shows folder sizes; folders with many small files are often
cache,tmp,sessionsornode_modules. - With SSH (if your plan includes it), count files per folder:
cd ~ && for d in */ .[!.]*/; do echo "$(find "$d" -xdev | wc -l) $d"; done | sort -n | tail
1. Caches
Empty the cache from the application's settings, or delete the contents of its cache folder (for example wp-content/cache) in File Manager. Most caches rebuild only what is needed.
2. Sessions
Websites keep PHP sessions in ~/tmp. Delete files there that are older than a few days (in File Manager, or with SSH: find ~/tmp -type f -mtime +2 -delete). Visitors who are signed in at that moment may have to sign in again.
3. Old copies
Delete unused site copies, unpacked archives and dependency folders that can be installed again (node_modules, vendor).
4. More files
Ask your hosting provider for a plan with a higher limit.
Good to know
- The count is measured every 10 minutes, so Resource Usage updates a few minutes after you delete files.
- Email is stored outside your home folder and does not count towards this limit.
Still not working?
If the count does not go down, check hidden folders (names starting with a dot) such as .cache and .npm. Contact your host through Support if you cannot find what holds the files.
Thank you — this helps us improve the article.
Still stuck?
Ask the AI about your exact situation — it answers from this knowledge base — or contact us.
Related articles
- Disk quota exceeded: hosting account disk space full
Uploads fail with "Disk quota exceeded" or you got a "Disk space full" email. See what takes the space in your account and how to free it or get more.
- Website shows 500 Internal Server Error (HTTP 500)
Find why your website answers "500 Internal Server Error" or a blank page, read the PHP error behind it in the control panel and fix the usual causes.
- Cron job not running (or not doing anything)
Your scheduled cron job does not run or seems to do nothing. Check the schedule, command, paths and PHP binary, and log the output to see the error.