Troubleshooting Inodes Usage on cPanel and CloudLinux

Troubleshooting Inodes Usage on cPanel and CloudLinux

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

Check Inode usage inside cPanel

Most cpanel hosting providers provide an Inodes / File Usage widget:

mceclip2 - Troubleshooting Inodes Usage on cPanel and CloudLinux

Check Inode usage from SSH

To check inode number of a single file or folder:

# ls -li file-name-here

Check total Inode usage via SSH for a single cPanel user:

find . | wc -l

Inode count of each subdirectory:

find . -printf "%h\n" | cut -d/ -f-2 | sort | uniq -c | sort -rn

How to decrease Inode Usage in cPanel

Here are some of the most common ways to lower inode usage in Cpanel:

Clear the .trash

Empty the trash bin regularly.

NDPqx0nNme 1024x517 - Troubleshooting Inodes Usage on cPanel and CloudLinux

Clear the cache files

cPanel >> LiteSpeed

K3jiBTVg82 1024x517 - Troubleshooting Inodes Usage on cPanel and CloudLinux

Remove unnecessary files

cPanel >> FileManager

Clear old emails

cPanel >> Email Disk Usage

x94TAwQgbt 1024x517 - Troubleshooting Inodes Usage on cPanel and CloudLinux
whoami
Stefan Pejcic
Join the discussion

I enjoy constructive responses and professional comments to my posts, and invite anyone to comment or link to my site.