How to resolve high inode usage in cpanel?

789

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:

inode stats cpanel
inode stats panel

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.

Directory wise inode usage stats
Directory wise inode usage stats

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.

the site with the high inode usage

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.

cache issue
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.

object cache
object cache

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.

Previous QuizDifference between DBMS and File System | DBMS Vs File System
Next QuizWhat is CIA Triad of information Security?

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.