Having Inode Limitations?
Sep 15, 2008Is there any point in having inode limitations?
View 2 RepliesIs there any point in having inode limitations?
View 2 RepliesWarning: I do not want to re-open discussion on some previous threads about the legality of inode limitations. If it gets to that, please feel free to close this thread.
Reading through some other posts about inodes made me look at my own VPS setups. I use XenSource 3.1 on a CentOS 5 Dom0, using LVM for VM storage. When I create a new virtual machine (CentOS5 or Ubuntu, etc) I format the root filesystem with ext3. I use all the defaults, including number of inodes. So for a 20 gigabyte filesystem, I get:
Code:
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 20G 453M 19G 3% /
Filesystem Inodes IUsed IFree IUse% Mounted on
/dev/sda1 2621440 13861 2607579 1% /
Would there be any advantage to limiting the number of inodes a VPS has? Sure, if you had 200,000 inodes instead of 2.6 million inodes, you would have more available space. But there doesn't seem to be a hard limitation on the disk drives I'm using (WD 250GB SATA using linux software raid 1). I assume I could set any amount of inodes to a filesystem?
I am under the impression that VPS services do not limit CPU Usage.
I would like to be able to just have programs run to their full potential usage, is this impossible on a VPS?
I'm writing an inode and directory size counter, but hit a snag with directories that contain a space.
Simple code, finds all directories within a folder, sets the current directory:
for i in `find . -type d`; do ls $i; done
Looks correct? It works great, until you hit directories with spaces. So I try the following methods:
for i in `find . -type d|sed 's/ / /g'`; do ls $i; done
for i in `find . -type d|sed 's/ / /g'`; do ls "$i"; done
What is happening is, at the ( for i in ), it treats each item at the first break, if its
or a ' '. Is there a flag I can set to make it only use
? When I pipe the data, it sends each chunk of the directory through.
[root@home /home/mindbend/dev_html]# for i in `find . -type d|sed 's/ / /g'`; do ls $i; done
ls: ./test: No such file or directory
ls: ing: No such file or directory
ls: 12: No such file or directory
ls: 3: No such file or directory
ls: ./test: No such file or directory
ls: ing: No such file or directory
ls: 12: No such file or directory
ls: 3/test: No such file or directory
ls: 2: No such file or directory
# ls -d test ing 12 3/
test ing 12 3/
#ls -d test ing 12 3/test 2/
test ing 12 3/test 2/
GNU bash, version 3.2.39(1)-release (i386-portbld-freebsd7.1)
Copyright (C) 2007 Free Software Foundation, Inc.
Issue exists on linux and freebsd, same code.
I currently have hosting with Site5 (started back before all the overselling), and although my sites are very low in traffic and don't take up much space, I am running up against their 25,000 per site inode limit, due to my hosting a Gallery2 photo album on one of the sites (as I understand, the base install of Gallery2 uses 14,000 inodes alone. Due to how my album is integrated with the rest of the site, it would require hours and hours to switch to something besides Gallery2). All the sites together have used 17 GB of bandwidth so far this month, although much of that has been me uploading stuff to one of the sites to set it up.
Here are my sites:
- Site#1 is a family site, with family photos and a Wordpress blog. Very low traffic (a handful of visits a day), but lots of photos. Inodes not a problem for now (I'm at about 13,000), as unlike one of the other sites, I was able to switch to Zenphoto from Gallery2 pretty easily.
- Site#2 is the newest and fastest growing. It is a site for a small community of people who play a particular online computer game. It runs Drupal, and has about 60 members now, but 5-10 have been joining a day. Most online at one time has been 10. I get anywhere from 30-60 visits a day, but growing. The site uses about 150 MB of storage right now, and this will grow. No photo albums here.
- Site#3 (running Joomla and Gallery2) is for my own gaming group of 8 people that play the above computer game together each week online. Low traffic, but this is the site with the inode problem, as I post screenshots in Gallery2 after each session. Around 25,000 inodes, and 6.5 GB of storage used on the server.
- Site#4 is my wedding site, running on Wordpress. It only gets a handful of visits each day, and will get almost none after the wedding in mid September. No photo album here.
- Site#5 is my fiance's site (running Joomla), which she has pretty much not touched in a year and I doubt anyone visits, but I'm too much of a coward to take down.
With that in mind, I'm wondering what my best solution would be:
- Switch to a VPS, and if so, what kind and who?
- Switch to a different shared host with a higher inode limit
- Stay with Site5 and take the time to farm out the photo album somewhere off the site, or to another program like Zenphoto with a lower footprint.
I'm a tech-geek wannabe and willing to learn. I'm paying about $10 a month (I think) and could probably go as high as $30 or so.
I know,Free Hosting has various limitations but I wanted to get the communities view to It.
View 10 Replies View RelatedDoes anyone know of any shared hosting plans that don't have any MySQL limitations? Aplus.net and Powweb are trying to shut down my accounts because of this problem, and I can't afford dedicated hosting quite yet.
View 12 Replies View Relatedkernel: EXT3-fs error (device loop0): ext3_lookup: unlinked inode 12286 in dir #2
kernel: EXT3-fs error (device loop0): ext3_journal_start_sb: Detected aborted journal
EXT3-fs error (device loop0): ext3_lookup: unlinked inode 12286 in dir #2
One of my friends uses a popular shared hosting provider, and I was assisting him with a web site issue earlier.
I noticed the following warning in the host's control panel:
"[MySQL databases] may not be used for log evaluation operations, ad clicks, chat systems, banner rotations, or similar applications putting extreme loads on the database under any circumstances."
Is this common at other shared hosts?