|
#26
|
||||
|
||||
|
Quote:
and if you change it to: Code:
system("find /home/YOURCPANELUSERNAME -printf \"%i\n\" | sort -u | wc -l");
It's because the "." refers to the current directory, i.e. in this case obviously public_html
__________________
quietFinn - netFinn Finland "Be who you are and say what you feel because those who mind don't matter and those who matter don't mind." - Dr. Seuss |
|
#27
|
||||
|
||||
|
Thank you quietFinn
|
|
#28
|
|||
|
|||
|
Quote:
I have 3 sites which are somewhat active under my account (shared), and a few other domains that are just kind of 'sitting around'. Running that script, it says I have 23K inodes. Does this sound 'abnormal'? It seems quite high to me. Each site is running either an open source CMJ (joomla, geeklog) and the other site running phpBB. I expected 5 or 8K, but not 23K. Am I way off base here? Is there a way to drill down to which inodes by folder usage? (either by a script or via my cpanel?) Much thanks- ~Q |
|
#29
|
||||
|
||||
|
The limit is by account.
23,000 is normal and just fine. |
|
#30
|
|||
|
|||
|
Thanks for the input and the feedback.
Is there any way of (easily) drilling down to number of inodes per domain, folders, etc.? |
|
#31
|
|||
|
|||
|
Quote:
however i was not able to find which folder is containig that amount of files in the directoriesvia FTP (I mustcheck 1 by1), surely is some type of cache that is rebuilding php pages, probably wordpress? who knows... anyway, a script that can help us to find which one is the domain or folder exceeding the limit would be great. hope someone at HG staff can help , really want to get rid of this warning in my account ![]() thanks in advance |
|
#32
|
|||
|
|||
|
It seems we need a good old DOS style tree command that prints out the directory tree structure with the inode count for each directory.
|
|
#33
|
|||
|
|||
|
I wonder to hear that from HostGator email and feel not good to that TOS.
I just install the joomla script with 5-6 template and 9 article. It's 4628 inode for only one website. That's mean if i need to set it up for 10 Domain. It'll full with TOS. Too bad. You should active this TOS with new customer not the exiting. Because We believe that you prepare all the space for us. That's mean we can use my space for any reason. Huge files,many inode or install any scripts belong to the space that you allocate to us. This is the best thing you should do for your customer. ![]() By the way, you change your TOS, you have to change your motto from "We eat up the compettition" to "We eat up the client" too.
|
|
#34
|
||||
|
||||
|
LOL,
Well for starters there not going to suspend you for going over the inode limit, They will only stop backups on it. Of course you can continue to backup your site(s) by your self which is what I do with a script I made. And by the way you do know that the HDD space & bandwidth is oversolled? Meaning it really doesn't exist. There may be a 600GB HDD per server and each server having around 500 clients on it. They only expect each user to use up 50-100MB per site which is true. ~Jordan
__________________
http://free-vent.com Providing FREE PUBLIC Ventrilo (VOIP) use. |
|
#35
|
|||
|
|||
|
Thanks for the script.
I'll be sure to keep an eye on this, as a standard IPB forum will use 1,420 files to start with! |
|
#36
|
||||
|
||||
|
Yes, but that is a far cry from 50K. When a site gets to the size of 50K inodes, its huge.
|
|
#37
|
||||
|
||||
|
Quote:
This isn't a further restriction, it's a RELAXATION of terms, a very GOOD thing from a customer's point of view. Especially in my case, because I KNOW I'm going to go badly over 50,000 inodes in a very short time. But as a Tech explained to me yesterday, I could go many times that number over the limit and that won't matter a bit, AS LONG AS... I don't move/delete a whole bunch of files at once or otherwise risk file/directory corruption. And I won't be doing that, so I'm good to go. Hope that cleared up your confusion about the TOS: You're coming out ahead on this one. RV |
|
#38
|
|||
|
|||
|
Hi Jordan,
Yes, we oversell. It's common practice in the industry. I can assure you, we have significantly more space than a 600GB hard drive (or even a 600GB RAID). We have a redundant RAID array on all of our shared and reseller servers. I can also assure you, we do not place 500 accounts on our servers, the number is significantly lower. |
|
#39
|
|||
|
|||
|
I just got an email saying I am over the limit.
I ran the above script and it says I have over 98000 inodes. Can you guys add a program to cpanel that will show us how many inodes we have in each directory so that I can find out where the most are, so I can delete them? I have a couple installs of gallery and wordpress and I noticed that they both create a lot of cache files. This helps to reduce the server load because they are not dynamic files. So it is a catch 22 either I exceed the 50000 limit and serve static cached pages, or I turn off cache and serve dynamic pages, but increase CPU usage? I would love to upgrade to a dedicated server, but the price defference it prohibitive, $7.95 vs $174.00 per month is way to much. It would be cheaper to setup multiple shared accounts, 35 shared hatchling = 1 dedicated account in price. I noticed that you are starting Windows hosting soon. Will Windows hosting have the same file limit? |
|
#40
|
|||
|
|||
|
I scanned the thread, but this version worked for me flawlessly. I just named it inodes.php (easy to remember). It just outputs the total.
Quote:
|
![]() |
| Bookmarks |
«
Previous Thread
|
Next Thread
»
| Thread Tools | |
|
|
All times are GMT -6. The time now is 05:50 PM.












