Support article
Inode Limit Exceeded
Think of your hosting account as a large filing cabinet. Disk space is the physical size of the cabinet, while inodes are the total number of files, folders, and emails stored inside it. Learn how to identify and fix excess inodes.
🧠 What is an Inode?
Imagine your hosting account is a large filing cabinet. The disk space is the physical size of the cabinet (how many papers it can hold), while inodes are the total number of files, folders, emails, or scripts you store inside it.
Each item counts as 1 inode. If you have 50,000 files of 1 KB each, you’ll be using 50,000 inodes, even though you’re barely using any space in megabytes. When you reach the limit allowed by your plan, the server stops allowing new files to be created, which typically causes errors on your website.
🛠️ How to identify and fix excess inodes
If you use DirectAdmin, you can view your current usage in the right sidebar of the main panel, under the “System Info & Files” section.
Here’s how to reduce that number, step by step:
1. Clean up your emails (The #1 cause) 📧
Every email in your inbox, in “Sent,” or in the Spam folder counts as an inode.
- Log in to your Webmail or DirectAdmin and empty the spam folder and trash.
- Delete old emails with heavy attachments that you no longer need.
2. Clear the temporary files and cache folder ⚡
Many optimization plugins (such as WP Rocket or LiteSpeed Cache) generate thousands of temporary files.
- From your WordPress dashboard or the file manager, purge the cache.
- Check the
/tmpfolder of your installation; old session files sometimes accumulate there.
3. Delete test installations or old backups 📂
Sometimes we create a copy of the website in a folder called /test or /oldsite and forget about it.
- Every file in that forgotten installation adds to your inode count.
- If you have backups generated by plugins (such as UpdraftPlus) stored inside your hosting account, download them to your computer and delete them from the server.
4. Check for duplicate images 🖼️
By default, WordPress creates up to 5 or 6 copies in different sizes for every image you upload. If you have 1,000 photos, you could be using 6,000 inodes on images alone. Use plugins to regenerate thumbnails and remove the sizes your theme doesn’t use.
💡 Additional tips from miHosting
- Don’t use hosting as storage: Avoid storing files that aren’t necessary for your website to function.
- External backups: Configure your backup plugins to send copies to Google Drive or Dropbox instead of leaving them on the server.
- Centralize emails: If you receive thousands of emails a day, consider using external services or downloading your emails via POP3 so they don’t pile up on the server.
📌 Don’t forget
- Inodes = number of files, not their size.
- Common causes: Email buildup, excessive cache, and old backups.
- Quick fix: Empty your email trash and delete folders from unnecessary installations.
- Benefit: Your website will work properly again and will be faster.