HostGator iNode Warning – Upgrade or your suspended!

July 29, 2008 by Lee Jones
Filed under: Articles 

This is the Facts as I see them - And how to prevent suspension of your Hostgator account!

HostGator are a fantastic web space provider and will bend over backwards to help you, and provide many built in facilities that many other web space providers only wish they could supply at such a low cost.

But just the other day, I received an email ( see below for full email ) stating that my iNodes where more than 50,000 and if I didn’t reduce them within seven days my account may be suspended, an alternative was to upgrade to a Dedicated Server ( more costly, of course) .

After the initial panic, I thought OK, i’ll reduce my iNodes – That’s if I knew what an iNode was !, which at the time I didn’t.  An iNode stores the information of the file in the Linux file system. To reduce the usage of the iNode, just remove the unwanted files from your web space. So basically, to reduce you iNode, you remove some files from you account using either an FTP Software or the c-panel. Simple enough I thought.

The problem is there is no way that i know of showing how many iNodes (or files) you have on this shared server webspace, using any of the supplied tools in the c-panel

PHP Script To The Rescue

To find out how many iNodes you are using on your shared HostGator account, download any of the 2 files below, and upload to your root folder on the HostGator server.

For Example:  upload your inode1.php File to the public_html folder
then using your browser go to www.yoursite.com/inode1.php
and you will instantly see how many inodes have been used on your account, without opening c-panel or your ftp software.

PHP 1: Simple

iNode 1 - Download file Here

PHP 2: more Detailed

iNode 2 - Download file Here

 use your browser and go to www.yoursite.com/inodes1.php or inodes2.php or what ever you called the PHP files, and your iNode count will be revealed!

25,000 iNodes & counting

On the account I have with hostgator, i had over 25,000 txt files in a folder that i was unaware of, and this was the reason why my warning was issued. These files where stored on the websapce in a folder called cache, and this was steadily increasing on a daily basis

There was nothing wrong with this but due to the software requirements, this folder would rapidly fill up, and therefore i decided to delete all files and software related to it, to gain back my lost webspace.

10 Step email check

one of the first things you need to do is check for spam mail, even if your site does not have webmail set up. As this will increase your iNode count dramatically, and will allow you to keep all your legitamate files on the server without deletion.
10 Steps

Go to http://www.yoursite.com/cpanel
1. Click on Mail
2. Click on Web mail
3. Click on Horde
4. Login
5. Click on Mail
If you find a lot of spam emails
6. Click on Folders
7. Tick Inbox
8. Choose Empty Folders from the Drop Down box above
9. Click Empty Selected Folders
10. Do this regularly before you get an email from Hostgator like this:

This was the email sent to me

Server: gator99      
     User: xxxxxxx       
    Email: xxxxxxxxx (Owner)
   iNodes: 52476 (warning)
Catchalls: 1 (warning)   

Date: Sun Jul 27 00:14:20 CDT 2008
Email: xxxxxxxxxxxxxxx
Account Name: xxxxxxx
Server: gator99.hostgator.com
iNodes (Files): 52476/50,000 (104.00%)

Hello,

To maintain the highest level of performance on our shared servers we have a maximum inode (file) limit of 50,000 inodes (files) per account. The size of the file does not matter, only the number of files. For example, a DVD image (say, 4.5gb) only counts as one inode, or file. Our limit, as outlined in our terms of service, is 50,000 files per account. We generally don’t hold people strictly to this limit, but at the same time we expect our users to respect the limits of the system. When an account has hundreds of thousands of files, it significantly degrades overall disk performance, as each file on the disk must be tracked/indexed.

An easy analogy would be a table of contents or glossary for a book. If the book only has a few hundred pages, the index or glossary is likely to be small and easy to search. If the book has 5,000 pages, finding what you want might take significantly longer. The file system on a server works in a similar way, just on a larger scale. Our experience has shown that 50,000 files per account is a fair number, and accounts that exceed that by a significant amount cause disk performance issues.  This message is to inform you that the listed account has significantly exceeded our limits for disk inodes/files and could potentially lead to disk issues.

It is also important to realize that accounts that exceed the inode (file) limit are not backed up by our courtesy weekly backup service, per section 7b of our Terms of Service. Of course, we advise every user to run their own backups to be safe. Accounts over our the 50,000 inode limit are bypassed so that backups can complete in a timely fashion for everyone. Otherwise, accounts with hundreds of thousands or more inodes will utilize more server resources than other accounts, and could lead to file system errors on our backup servers.

This account will be re-checked again in 7 days to verify it is below 50,000 files. If this account remains above the maximum inode limit after repeated checks, we’ll have to review the situation further and advise a course of action. It is critical that one of the following actions take place before that happens:

a) reduce the number of inodes/files. This change must be permanent; if you have a high number of cache files or similar, and you expect them to naturally exceed the inode limit again in the future, the configuration must be changed to limit the total number of cached files.

If you are completely unaware of the source of the inodes, it may be that you have left your default mailbox enabled, and never cleared it. Over time, it can fill up with spam, consuming hundreds of thousands of inodes. If you have a catch-all enabled on your account, this can greatly increase the amount of mail/spam that our account receives and will raise your inode usage quickly unless routinely emptied. If you would like assistance clearing these folders from unwanted email or removing the catch-all from your account, please let us know and we would be happy to assist you.

The default mailbox is located at:

    /home/xxxxxxxx/mail/cur
    /home/xxxxxxxx/mail/new

b) upgrade to dedicated service, where inode counts are no longer checked. In many cases, accounts that significantly exceed our inode/file limits have simply outgrown the shared  environment, and a dedicated server is the logical choice. In many cases, the transfer from a shared to dedicated server will incur no charge. In rare situations, accounts with excessive numbers of accounts or users may require a fee; the transfer department would advise you of that fact prior to the transfer taking place. If you’ve read this far, it’s clear you’re serious about taking care of the issue and we can offer you 50% off off the first month’s purchase of a dedicated server. To receive the discount, please:

   – Reply to this email stating you’d like to upgrade. You will
automatically be assigned a ticket number, which will be
visible in the subject line. You may need to confirm your
email if this is the first time you’ve ever sent us a
ticket or emailed one of our departments.

   – Order a dedicated server:
          http://www.hostgator.com/billing/order/orderwiz.php

   – Email sales@hostgator.com after placing your order. This
promotion is unadvertised, and must be manually approved.
You must reference the ticket # you receive (above) to
qualify for the discounted rate. This promotion only
applies to dedicated servers priced $ 219.00 or higher.

We thank you for taking the time to resolve this issue. If you have any questions or perhaps you are not sure what could be causing the high number of inodes, we can help you with that. Simply reply to this email and we will be more than happy to assist you.

Date: Sun Jul 27 00:14:20 CDT 2008
Email: xxxxxx
Account Name: xxxxx
Server: gator99.hostgator.com
iNodes (Files): 52476/50,000 (104.00%)

Written by Lee Jones - Visit Website sharebookmarx HostGator iNode Warning   Upgrade or your suspended!

Ultimate Footer Ad  

ULTIMATE FOOTER AD

Get at least a 200% increase in subscribers instantly

After having UFA installed on my blog for exactly 7 days,
and with no extra traffic, I've seen the average daily subscription rate increase by 249.84%....    Click for more »


 Powered by Max Banner Ads 

Comments

14 Comments on HostGator iNode Warning – Upgrade or your suspended!

  1. Govindaya on Mon, 9th Feb 2009 10:41 AM


  2. Super-Duper site! I am loving it!! Will come back again – taking you feeds also, Thanks.

  3. Devin .?mily on Sat, 11th Apr 2009 1:19 AM


  4. Hi. I read a few of your other posts and wanted to know if you would be interested in exchanging blogroll links?

  5. Kaamajakaaya on Mon, 13th Apr 2009 9:47 PM


  6. thanks !! very helpful post!

  7. Hamsaaya on Tue, 14th Apr 2009 11:57 AM


  8. Hey very nice blog!!

  9. Martin on Thu, 16th Apr 2009 10:48 PM


  10. Gr8 blog! Ill definitely be coming back

  11. John Taylor on Fri, 24th Apr 2009 12:57 AM


  12. Interesting blog post. What would you say was the most important marketing factor?

  13. Acai on Fri, 24th Apr 2009 7:44 PM


  14. You made some really nice points in your article. I would like to see more sub points discussed though. Keep up the good work.

  15. Beverlee Krainbucher on Sat, 25th Apr 2009 11:03 PM


  16. found your site on del.icio.us today and really liked it.. i bookmarked it and will be back to check it out some more later ..

  17. Lea Esquer on Mon, 27th Apr 2009 4:13 AM


  18. Hello, I found your blog in a new directory of blogs. I dont know how your blog came up, must have been a typo, Your blog looks good. Have a nice day.

  19. Keiko Nyland on Mon, 27th Apr 2009 9:14 PM


  20. It sounds like you’re creating problems yourself by trying to solve this issue instead of looking at why their is a problem in the first place.

  21. Winfred Hoffstatter on Mon, 14th Jun 2010 11:03 AM


  22. This was a Great post, I will be sure to bookmark this in my Reddit account. Have a great day.

  23. Schedule on Sat, 30th Oct 2010 2:52 AM


  24. Maybe you could change the webpage subject title HostGator iNode Warning – Upgrade or your suspended! | LEE JONES to more suited for your subject you create. I loved the blog post even sononetheless.

  25. Lee Jones on Sat, 30th Oct 2010 10:22 AM


  26. ABOVE – This is just a spam post

    GROW UP, TRY DOING SOMETHING USEFUL IN YOUR LIFE !!!

  27. Skip McGee on Wed, 26th Jan 2011 12:27 PM


  28. Your website always makes me think, I have just bookmarked it!

Tell me what you're thinking...
While your at it, Why don't you get one of these fancy pictures to show with your comment, go get a FREE gravatar!





FREE - JOIN TODAY

lee jones email subsriber newsletter Yes Lee,
I would like to get your FREE Newsletter

Lee Jones Blog subscriber newsletter
Name:
Email:

PRIVACY NOTICE
I will never pass your email address to anyone else and you may opt-out any time

Follow me on Twitter!
twittertwitter counter