Every hosting plan comes with a dedicated amount of storage space and inodes. You can always check the limit for your hosting plan at our website or directly in hPanel on the Order Usage section:

In case your account is reaching any of these limits, your website might display a 503 error.

There are two options to quickly identify the used disk space and inodes for each folder on your account:

How to check inodes and disk usage per folder in File Manager

Open Websites → Manage, search for File Manager on the sidebar and click on it:

Open the folder whose usage you would like to check (for example, public_html), and click on Calculate directory sizes in the top right corner:

After calculations, you will see detailed information about directories sizes as well as inode count in the Size column:

Alternatively, you can see the inodes of a single directory by right-clicking on it and choosing Info:

In the popup window, click on Show next to Size to display the directory size and inodes.

How to check inodes and disk usage per folder using SSH

Alternatively, you can check the information using SSH if your hosting plan is Premium, WordPress Starter or greater. Just follow these steps:

  • Make sure you are in the correct directory (for example, public_html). To do this, run the command ls. If you are in a different directory, you can use ls and cd commands one by one

For most sites, the path will look like this:

cd domains
cd domain.com (where domain.com is your domain)
cd public_html

When you are in the correct directory, run these commands:

  • To check the inode count (list sorted in descending order):

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

The result will look similar to this:

  • To check disk usage (list sorted in descending order):

du -shc * | sort -rh

The result will look similar to this:

Now you know how to check your inodes count and disk usage in detail!

Additional resources:

Did this answer your question?