We are investigating cPanel for a free web hosting service.
The reason for asking how many accounts can a linux cPanel server handle is due to the fact that we have noticed on prior windows hosting, the iis6 web server crashes after a certain number of user signups. Mainly due to metabase failure or corruption (also the file system fails or crawls when there are too many folders in it). So we are now moving from windows to linux for a better solution.
I am aware that the account number is limited by the nature of the hardware used, in this case its a dual core cpu with 4gig ram and 1000gig hard drive. Just for example.
In a perfect environment one should expect to setup 10 thousand or more accounts per linux/cpanel server, in other words unlimited. What I want to know is this, does cPanel or any part of linux web server (or system, eg. file system) fails when the number of accounts gets too high?
Lets say I am planning to create 30,000 websites(domain or sub domain) with all features on a linux box with cPanel. Would it survive or would it fail at some point?
I hope you got my point and would be grateful if you can share your ideas about the question.
Linux has a limited number of user accounts. You physically cannot create more than a few hundred users on it before it runs out of available UIDs. CPanel depends on the Linux user structure, so there is your limit.
However the hardware you said you would be using isn't going to handle more than a hundred or so clients at a time anyway. To shoot for the 'ideal' you mentioned you would have to build your own cloud machine in order to pool the required amounts of resources into being. You would also have to make that cloud run VPSs, which then in turn are used to perform the actual hosting to get around the user limit.
All told you're better off just being a lot more realistic in your user expectations. I think you're going to find that getting users at all is quite difficult even under the best conditions possible. Nobody is going to want to join you anymore if you overload your servers like that, they'll become slow and unreliable.
SeraphimLabs LLC, persistent hosting for your needs.
Come what may we'll be there for you, keeping your dreams safe and growing.
Chat with us, you don't have to be hosted by SeraphimLabs to get general tech help.
I helped administrate a cPanel server with 4,000 accounts and things did not work right, many of WHM's functions timed out and lots of cPanel and WHM's stuff did not work right. MySQL had issues with that many databases. But, the websites ran decent once you got them running.
load avg was around 300 sometimes, usually around 2-5. I think it was a dual Xeon with 2 500gb hard drives and 4gb ram.
Well that explains it. 4GB memory won't hold up to 4000 sites, especially if they use PHP.
Ram use was always around 2-3gb
It will be fail even before you reach 1K websites!Lets say I am planning to create 30,000 websites(domain or sub domain) with all features on a linux box with cPanel. Would it survive or would it fail at some point?
First of all, I am not talking about the commercial aspect of hosting 30k sites on a single machine, I know 1 site is enough to bring down a machine.
Lets say for example, none of my sites are getting any visitors, I am just creating 30k sites for load testing the server. Theoretically it should be able to do it, unless there is some system limitation that is preventing it from doing that.
For example we have found that windows servers fail after a few thousand sites due to its ii6 metabase error and file system slow down and corruption. On the other hand linux is said to be more robust and might have solved thouse issues. Thats what I am eager to know more about.
I would like to know more about linux limitations as @Seraphim said. Why limits, isnt linux open source? so why whold there be any barriers on number of accounts or number of sites that cpanel can create, even windows does not have any such limits!.
For your information we have created upto 5k sites on recent 2008 windows server with iis7. Its more fault tollerent than its older versions but we are looking for some thing better in linux, if there is!
I guess I have to run a test machie to figure this out myself!
The tricky part here is that I am ignoring site visitors, I am just talkinig, why a bare machne cant create 10k+ sites when that is all its supposed to do! If it cant , where exactly does it fail. Does it fail at all, is it a file system failure, cant a linux box hand 100k folders , etc? Theoretically its not supposed to fail after creating only 10k sites or maybe 30k sites.
Get real. What we're telling you is that ideally, a server can handle a few hundred accounts before suffering ill effects. Take our information for what it's worth. We have the experience that you lack or else you wouldn't be asking in the first place.