How to decrease inode usage in cPanel

Article in English Articol în Română

What Is Inode?

An Inode is a data structure used to store the meta data of a file. Inode number represents the collective number of files and folders present in your web hosting account.

What Is The Inode Limit ?

The limit is distributed on packages as follows:

Hosting Basic - 175.000 soft and 200.000 hard 
Hosting Basic Plus - 225.000 soft and 250.000 hard 
Hosting Advanced - 275.000 soft and 300.000 hard 
Hosting Advanced Plus - 575.000 soft and 600.000 hard 
Hosting Premium - 875.000 soft and 900.000 hard 
Hosting Diamond - 1.450.000 soft and 1.500.000 hard 

You will still be able to upload files even if you reach softlimit, but once hard limit threshold is reached file upload will stop working. So you cannot receive new emails or create files on the server.

View Inode Usage Via CPanel

Just login to your cPanel home page. In the right panel you can see the ‘File Usage’ stat as shown in the screenshot below which is the Inode usage of your account.

Decreasing Inode Usage With CPanel Hosting

Most people will not need to be familiar with Inodes if they are using their hosting in normal circumstances such as for a basic or intermediate website and normal email use. However, to ensure that all our customers get a consistently high level of service we have implemented inode limits per account for reducing resource abusers in our Shared Hosting and Reseller hosting.

Not all inode overages are caused by abuse though. It could just be that you need to do a bit of a clean up of your hosting files. If you experience issues caused by high Inode usage then this tutorial is to help you decrease the number of inodes on your account.

Here are some steps to reduce the inode number limit.

1) Delete Unnecessary Files And Folders

Examine the files and folders manually and decide on if the file is necessary or not. In case if the file is an old backup archive or if the folder is created for testing or staging purpose, you may remove it or download it locally via FTP or cPanel >> FileManager and delete it from the server.

2) Clear Old And Spam Emails

Deleting the old emails helps a lot in decreasing the inode usage. There might be spam mails in your mailbox which are of no use and deleting those mails will hep you to reduce the inode number. You can remove spam emails from email client or webmail. You can seek help from our support department which operates 24*7 to delete the mails easily via shell.

3) Clear The  Cache Files

Most of the CMSs uses cache to reduce the response time and application like Joomla and Wordpress can create a lot of cache files which can increase the inode usage tremendously. So it is advised to keep an eye on the cache folders and make sure the number of cache files is the least.

Most of the CMSs now provide the facility to purge the cache and you can make use of it to control the number of cache files. Or you can setup a cronjob to automatically clear the cache files periodically.

If you have the inode limit getting hit regularly or you still have issues after you have cleared up your files, we suggest you to upgrade the package to a higher one with higher inode limit or consider a Virtual Private Server. You can contact our support for this.

Was this answer helpful? 0 Users Found This Useful (0 Votes)