A SHARE OF $50,000 CASH! A SHARE OF $50,000 CASH!
We are aware of some customers receiving a fraudulent email claiming to be VentraIP Australia. Please do not open the link in this email, and mark it as spam immediately. If you have clicked the link in the email and entered your details, please update your VIPControl password immediately
View all Products Close Menu Menu
Monitoring the inode (file count) usage on a hosting service
Updated Thursday August 12th 2021 / Category Web Hosting

What are inodes?

Inodes are the number of files that are stored on your hosting service, and on a shared web hosting service, this figure is limited depending on the type of hosting plan you’re on and will be displayed in cPanel on the side bar.

Exceeding this limitation can cause your website to display a 503 error.

How to check your inode count

Checking File Usage in cPanel

  1. Log in to cPanel.
  2. Look to the right column for a header that says File Usage, under another header titled Statistics.
    • In older versions of cPanel, this is on the left column after clicking the expand link.
  3. This is the number of files you are storing in the service, and how many you are permitted in total.
    This count is made up of website files, emails, pictures, videos, and more.

Using Secure Shell

You will need to begin by logging into your service via SSH. You can do this using cPanel’s inbuilt SSH terminal, or connect using an SSH client like Putty.

Once you have opened the cPanel terminal or connected via Putty, you can use the following command to show you a break down of the INode usage in this:

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

If you need to check the INode usage in a different or sub folder, you can change folders using this command:

cd /folder-name

To go back (up) a directory, use this command:

cd ..

Reducing the number of files on your hosting service

Some of the common reasons your inode count can near its limits include:

  • You are on a plan too small for your website
  • The Content Management System you’re using requires a lot of files
  • You have duplicate uploads
  • Your website is creating an excess of error logs

Once you’ve identified the source of your high file usage it is up to you to consider whether a bigger plan is best for you, or if you could safely delete some of these files if unnecessary.

Can’t find the answers you're looking for? Check out these other methods of support!