An inode limit is the maximum number of files and folders your hosting account can use. If you see an "inode limit exceeded" message, your account has reached this maximum, even if you still have free disk space. This article explains how to check your usage and reduce it.
What an inode limit means
An inode is a record that the server keeps for each file and each folder. The inode limit caps how many of these records your account can hold. This limit is separate from disk space, so you can run out of inodes while plenty of storage is free.
Email counts towards the limit too. Every message in your inbox, your Sent folder, your Trash and your Spam folder uses an inode.
When you reach the limit, you may notice the following:
- File uploads fail.
- Your website does not work correctly.
- Incoming email bounces, because new messages cannot be saved to your mailbox.
How to check your inode usage and reduce it
Start by checking your current count. Then remove the files and email you no longer need, and check the count again. Your control panel is either cPanel or DirectAdmin, so follow the section that matches your account.
To find your limit, log in to the client area at https://my.hostking.host or check your welcome email. Limits depend on your plan.
cPanel
- Log in to cPanel.
- Find the Statistics panel, usually on the home page.
- Find the row labelled File Usage. It shows your current count and your limit, separated by a slash.
- If the row is missing, contact support. The row is shown only when it is enabled on the server.
- Go to Files and then Disk Usage to see which folders use the most files.
- Open Webmail and empty the Trash folder.
- Open the Spam folder and delete messages you do not need.
- Delete old email you no longer need from your other folders.
- Open Files and then File Manager.
- Open the .trash folder, if you can see it, and empty it.
- Delete old backups, unused scripts and test sites that you no longer need.
- If a caching plugin is installed on your website, use the plugin's own clear cache or purge option. Do not delete cache folders by hand.
- Return to the Statistics panel and check the File Usage count again.
DirectAdmin
- Log in to DirectAdmin.
- Open the Account Information or Statistics section on your dashboard.
- Find the Inodes line. It shows your current count against your plan's limit.
- Open File Manager and check the folders that hold the most files.
- Open your email and empty the Trash and Spam folders.
- Delete old email and attachments you no longer need.
- Delete unused scripts, old installations and test sites.
- If a caching plugin is installed on your website, use the plugin's purge option to clear the cache.
- Move any backups stored in your account to your own computer, then delete them from the server.
- Return to the Inodes line and check the count again.
Common causes of a high inode count
Most high counts come from a few sources. Check these first.
- Email: old mail, spam and items in Trash.
- Cache files: WordPress and other content management systems store many small cache files.
- Old installations: unused scripts, old site copies and development sites.
- Backups: backup files kept inside your hosting account.
- Catch-all address: a catch-all address collects mail sent to any address on your domain, so it can build up thousands of messages.
Troubleshooting
The count goes down, but the error remains
Wait a few minutes and reload the page. Some changes take time to show in the control panel. If the count is still high, empty the Trash folder again and check the .trash folder.
The File Usage row is missing in cPanel
This row depends on a server setting. Contact support and ask them to enable File Usage information for your account.
The count rises again quickly
A sudden increase can mean a problem with a script, a plugin or your website's security. Check for recent changes to your website. Contact support if you cannot find the cause.
Your site works, but the count is still near the limit
Look for large numbers of files in one folder, such as cache or session folders. Ask your website developer or plugin provider how to limit how many files it creates.
The count stays at the limit after cleaning up
If you have removed unused files and email and the count still returns to the limit, ask support whether your limit should be reviewed. For price questions, see https://www.hostking.host/pricing.
If you are still stuck after following these steps, contact Hostking support through live chat on the website or by opening a support ticket from the client area at https://my.hostking.host.
