What Is The Maximum Number of Files Allowed In Spry, Servint and other VPS ?
Is there a limit in the number of files allowed in Virtuozzo based VPS?
My current Westhost allows only 10% of the size of the diskspace, that is if your plan is 6GB you are only allowed to have about 600,000 files to be created.
Is there any VPS out there that does not set the limit to the number of files to be created? I am afraid that if I use the VPS to resell web hosting I will not have the freedom to resell even if the diskspace is not being used if I myself am reaching the file limit set by the VPS provider for my own web sites hosted on the VPS.
Your input is much appreciated as currently I have Spry and Servint on my mind. If there are any other VPS that is better out there I am open to it.
Have you managed to use up that quota? Most VPSs won't reach that number of files. If and when you do, I am sure your host can increase that limit for you.
YourCheapHost.com - Low cost multi domain hosting solutions. [Legal adult content friendly] Reliable web site hosting is our motto. We have Alertra stats to back that up. Proven provider of high quality shared and reseller accounts since 2002.
Thats the limit of open-files, which I believe will affect number of files as well since its opened initally on bootup for quota.
That number is low usually I see it around 60k or so, it may need to be tweaked.
And where do you "usually" see numfile being set 60,000? 60,000 open files on a basic VPS to start?
Also, I am pretty sure 1600 is not set in stone.
Last edited by BeDifferentSolutions; 11-24-2005 at 02:04 PM.
BeDifferentSolutions | "For when Indian-based solutions just won't do."
*We hire, train and manage extremely skilled technical support employees for your business*
US and European Based Representatives | Dedicated and Semi-Dedicated Options | Level 1/2/3 Skillsets
Expertise Since 1999 |www.bedifferentsolutions.com|[email protected]
I am interested in your VPS Level 200. Could you verify that my undestanding of your reply is correct?
numfile = 5820 of concurrent files that can be opened at the same time am I right? Does that mean the server theoritically could have 5820 users opening different files at the same time?
So inodes is the number of different files that I could create (i.e. with the extensions of .jpeg, .gif, .htm. .php. .cgi, .pl, etc) , am I right? If what I understood is correct then in my opinion for a 10GB offered by Spry for the plan is not to my expectation as my current host is offering 1 million files for that kind of size.
Anyway, I will still put Spry under my consideration if I could not find other VPS that suits my budget. Thank you very much for your reply.
If what I understood is correct then in my opinion for a 10GB offered by Spry for the plan is not to my expectation as my current host is offering 1 million files for that kind of size.
The question is if you need place for one million files? My host allows me 15 million (there is no limit, so that is a theoretical border) but I will never need more then max 50 000. So for me it doesn't matter if they offer 15 million or 150 thousand.
You are correct in that numfile is the maximum number of open files allowed on your server. However it does not mean that you can have that number of concurrent users. The reason for this can be best seen by examining how Apache functions upon startup, and when someone connects.
Upon startup Apache will use one of the available file handles to open it's configuration file. It then uses file handles to open connections to log files defined for each domain defined in the configuration file. It also uses file handles to load in modules as well as for the socket for port 80. Therefore when Apache starts, it will use at minimum 4 (one each for the config file and socket, and 2 for the access and error logs) and potentially hundreds. Don't worry, as many of them are released.
When a client connects, multiple file handles are used to place entries in the log files as well as access the html pages, images, and mysql. Because of this, the numfile value does not directly reflect on the number of users that can access your server simultaneously.
As to the inodes, they do represent a limit to the number of files that can be placed on your server, however they do not have a 1:1 correspondence. If you have a large number of small files, you will use up your inodes before your diskspace. The corollary is true as well, you can use up your disk space with a few very large files before you run out of inodes. The values we submitted were set as a reasonable base value for clients as they are finite on a system, just like disk space