Did you get Inode quota exceeded or disk quota exceeded message and not able to add more files to your hosting? If you are using WordPress then you may also not able to add new Plugin / Theme to your website. So this can also be a problem that I have recently faced as well as resolved perfectly.
What is an inode?
An inode is a data structure on a filesystem on Linux and other Unix-like operating systems that stores all the information about a file except its name and its actual data.
Where to check the inode Usage in Cpanel?
Just type the inode in your Cpanel’s search bar and you will see “Inode Status” in the “Health Checks and Monitoring“. Click on that and you will get the inode status as shown below:
After clicking on the Inode stats you will redirect to the page where you can see the directory wise inode usage.
Below is the image of one of our hosting in which we were suddenly getting started the disk quota exceeded error and we were surprised because the data on that hosting was only 9.5 GB.
How to reduce the inode usage?
If you get the message of disk quota exceeded or Inode quota exceeded then at that time first you have to check the allowed disk/inode usage and then compare it with the exact usage.
If you get to know that there is an unusual inode usage and you are a WordPress user then I would like to tell you to check the inode usage stats as shown above.
Now try to find out the higher number of usage in this list. In my case first it was showing the public_html directory. Then I expanded it and got the website name that is creating the problem.
Now I got that problem is in the newyearsmsg.com/wp-content and again I expanded it and get to know that this was a cache issue.
And the main picture came when I again extended that and I got that the whole problem was from the “object cache” of the W3Totalcache.
Also check: Improve Website Security
Now I just disabled the Object Cache from the W3Total cache and delete the object cache folder from the hosting and got the inode usage normal.