HostGator.com » Support Portal

Inode Usage

An inode is a data structure used to keep information about a file on your hosting account. The number of inodes indicates the number of files and folders you have. This includes everything on your account, emails, files, folders, anything you store on the server.

There is currently an limit of 100k/250k inodes on our shared accounts.

What is the 100k/250k inode limit?

Shared and Reseller servers only allow 100,000 files per cPanel. This is a "Soft limit" meaning that while the limit is reached, you will still be able to upload files. However once the account passes the 100,000 file threshold it will no longer be included in our weekly backups. Additionally, if the account happens to exceed 250,000 files then it will be in violation of our Terms of Service and can result in possible suspension.

VPS accounts are limited to one million (1,000,000) inodes. Unlike Shared/Resller accounts this is a "Hard limit," if the threshold is reached you will no longer be able to upload files to your account. Inodes do not affect the weekly backups for VPS accounts.

Dedicated servers have no inode limits in place, only those that exist for the file system on the server (such as ext3).

How can I reduce my inode count?

Simply delete any files or emails you no longer need.

How can I see how many inodes I am using?

Shared customers can see the inode count in cPanel on the left-hand menu. You must be using the HG style for this feature.

Reseller's can call or join live chat and we will be glad to check the inode usage for your account.

VPS customers can view the current inode usage from the Virtuozzo Panel, simply click on the Resources icon and check under the disk usage section. The limit is called "diskinodes" and will report how many inodes are currently on your VPS account.

For dedicated customers you can check the inodes of an account on your server by using SSH:
quota -s <cpanel username>

If you have SSH access to your account you can view the inodes for a specific folder using the following command:
echo "Detailed Inode usage for: $(pwd)" ; for d in `find -maxdepth 1 -type d |cut -d\/ -f2 |grep -xv . |sort`; do c=$(find $d |wc -l) ; printf "$c\t\t- $d\n" ; done ; printf "Total: \t\t$(find $(pwd) | wc -l)\n"
While this may look messy, it outputs a nicely formatted list of detailed inode usage on your account.


TOS Inode violations can consist of the following (however not limited to):

  • Continuously publishing and deleting large numbers of files (i.e. 10,000+)
  • If the cPanel account exceeds 250,000 inodes, Please refer to section 7b) of our Terms of Service.

Article Comments

John
What is the catch to dedicated, it seems too perfect?

HostGator
Yes, dedicated hosting is the best solution.

However, someone has to manage the server and the price is high. That is why shared hosting is a more practical solution for the small business or personal web site.

MRD
On reseller accounts, is the limit 250,000 for the entire reseller account and all 'sub' accounts, or is th limit 250,000 for each 'sub' account created?

HostGator
The limit is per cPanel.

So, if the sub-account has its own cPanel, then it has its own inode allowance.

Geo
Well you say the limit is 250.000 inodes but i read in some forums somebodies had 60.000 and get suspended email. Is it true that? If i have for example 100.000 inodes maybe my account suspend? Thanks and sorry for my bad english.

HostGator
There are two limits.

The 250,000 inodes limit is the true limit.

The 50,000 inodes limit (now 100,000) is the limit where we will discontinue our weekly backup program.

JIm
I am considering using Hostgator, for what will be a very large MySQL DB driven website (think Craigslist). This site is expected to run well into the thousands of hits per day, and have user posted images and text.
Q1. Does one image represent one inode, and the associated text another?
Q2. We expect to go from empty to a roaring hit/uploads rate within hours of
launch If this does happen, and I hit the inodes limit very quickly, and surpass it, will I be auto shutdown or will u continue service even though I have
passed my limit quickly, and wait to to WARN me before shutting me down?

I intend to start with the Business grade and then upgrade to dedicated server once the cash flow is there. However this is, at this point a shoe string startup, and I cannot afford to go the Dedicated server route at this time.
Thank you, Jim

HostGator
If you start on a Business plan, you should start with light traffic and a few hundred users.

As you grow, the shared environment will try to handle the heavy traffic, but depending on the number of visitors and the resources each visitor uses, your entire site may turn into a 500 error.

1. Yes, each image is a unique inode. Each text document is also an inode.

2. Due to the processor limitations on a shared server and the heavy traffic (thinking Craigslist), you are more likely to get a 500 error before you use too many inodes. If you hit the inodes limit of 100,000, then we remove you from our weekly backups list. If you go over the 250,000 inodes limit, then you risk suspension.

My best advice is to go immediately to a dedicated server. I know it is an expensive investment, but a shared hosting plan will not be able to handle the traffic and database queries you anticipate.

Jane
My cPanel doesn't show the number of inodes I have used. Where do I go to check my usage status?

HostGator
You must have a Hatchling, Baby, or Business plan to see your inode count in cPanel. You must also use the HG style (found under the Change Style icon).

Alternatively, you may call us or join our live chat and ask for your cPanel's inode count.

Danny
Does the size of a single file matter? for example a 10gig size, just to say...


HostGator
The size of a file does not matter when calculating the inode usage.

However, any shared account using more than 20 gigs of disk space will be removed from our off site weekly backup, with the exception of Databases continuing to be backed up.

Jonah
1. Okay, does MySQL Tables and records count as inodes as well?

Also,
2. If I reach 100,000 inodes, you still backup my databases, correct.

3. I run a forum website, if people post in the forum, does that count as an inode?

Thanks. I only run a small website, so 250,000 is plenty.

HostGator
1. Each database uses one inode for the database name. The tables and data you add do not use inodes.

2. Yes, on shared servers, we continue to keep weekly backups of your databases, even if you are suspended or in violation of the TOS.

3. Forum posts are simply data entries; they do not use inodes.

Aaron
If I run a blog, does every post count as an inode? And if someone comments, is that an inode too?

HostGator
No, those do not count as inodes because each post and comment is saved as a piece of data in the database.

Vincent
Can I say that inode will only be taken into calculation should I post images, files such as index.php and also creating a new directory?

HostGator
That's basically it. I would additionally mention that any media files and saved emails also count towards inodes.

Blaise
Why do you call it unlimited disk space if you have all these restrictions?

HostGator
Because we don't limit disk space.

There have to be some realistic limitations. There is no such thing as infinite hosting.

Mitra
Hi,

For WordPress Blogs , When we upload themes and plugins, does it count the files (.php files) of those themes and plugins as innodes ?

HostGator
Yes, every file counts.

HostGator
Thank you for your comments. Just a quick reminder that the comments on this page are not monitored by technical support staff, and that for support issues, it is best to contact us by live chat, phone or email so we can assist you right away.

Although comments are not monitored by technical support staff, they are moderated and read by technical writers. Comments will need to be approved by a moderator before appearing.

Our technical writers do read the comments periodically for the purposes of updating the articles, and do appreciate your feedback, suggestions and corrections to the articles themselves, as well as any suggestions or tips for readers of this article. However, support questions posted here are not guaranteed to be replied to in a timely manner or at all. For support issues, it is best to contact our support staff instead by live chat, email or phone.



Your comments help us keep the knowledge base updated. This is not a medium for support. If you have questions or need help, please contact us via email, phone or live chat for fast assistance.

Post Comment