I noticed recently, when I checked my hosting stats, that there seems to be something strange going on with Inodes
According to my hosting provider I have used 14364 out of my 150000 allocation. (10%)
This is what my provider has to say in their FAQ section
“An inode is a record in a disk table which contains information about a file/folder such as its size and owner.
The number of inodes you use represents the number of files/folders you have on your web hosting account.
When a file is opened, the file's inode is read by the kernel. The more files/folders you have, the more inodes you use. And the more inodes you use, the more system resources your account consumes.
This is why the number of inodes on a file system is limited. If you run out of inodes, your account may be excluded from the backup system or may even be suspended.
The thing is that I am still just building the site.
I have approximately 100 text pages. No Photos.
And a forum that as yet is unused.
The forums are for a niche service and I do not expect huge traffic.
But, if the forums are empty and I am already using 10% of my inode allocation.
Is this normal with Drupal?
Or, should I start to track this problem before I start advertising the site??
Any advice would be helpful.
Thank you in advance.
I am running
Drupal 6x
Advanced Forum6.x-1.0-
Block Theme6.x-1.0-beta1
Checkbox Validate6.x-1.
Flat comments6.x-1.0
Google Analytics6.x-1.3
IMCE6.x-1.1
Legal6.x-2.2-beta
Meta tags6.x-1.0
Pathauto6.x-1.1
Quote6.x-1.1-beta
String Overrides6.x-1.7
Tiny Tiny MCE6.x-1.10
Token6.x-1.11
Token actions
Image6.x-1.0-alpha3
Image Attach6.x-1.0-alpha3
Image Gallery6.x-1.0-alpha
Image Import
with
Salamander Skins
Comments
Comment #1
ainigma32 commentedAssuming the number of inodes is comparable to the number of files on disk for a given Drupal installation, I don't think the amount you mention is normal.
It's hard to say how many files/inodes are normal because you (probably) have to take things like temporary files into account.
But since the Drupal 6.8 distribution contains 463 files and 56 folders it looks like there is something else going on.
Have you had any luck in finding the cause for this large number of files ?
And can you confirm that you do have close to 15000 files on disk ?
- Arie
Comment #2
holesovice commented"Assuming the number of inodes is comparable to the number of files on disk for a given Drupal installation, I don't think the amount you mention is normal."
Yes. That is why I posted.
The site is still holding at 14468 out of 150000.
So whatever the problem is, it has stabilised.
For now I am willing to let the issue lie. (as long as the "problem" stays where it is)
It is something that I will watch. I just posted in case someone had had a similar issue and knew something about it.
Comment #3
holesovice commentedI found the problem.
Approx. 8000 (eight thousand files) left over from a bad upgrade I did.
I screwed up an update and had to ask the guys from my hosting company to help me out. There was a folder htmlold that wasn't deleted.
Am deleting the file right now..