How many sites this web server can handle? [duplicate]
Possible Duplicate:
How do you do Load Testing and Capacity Planning for Web Sites
I have a personal webserver (dedicated) which has 2GB RAM, 500 GB HDD, Unlimited Bandwidth.
Currently there are about 15 sites. Some sites get about 1000 hits per day and the lowest ones gets about 150 per day.
Most of the sites are wordpress blogs and others are asp.net applications. All the sites are not "heavy".
My question is how many more websites can my webserver handle? I am webdeveloper so what are the things (sever spec) which I should consider before renting out a server for a webstite?
Solution 1:
There's no definitive answer for that question as it 100% depends on load and feature usage of those sites. Also, consider that load might change over time, so you can't plan completely by just looking at current usage patterns.
The best advice I can give is to monitor the current usage and try to come up with some average numbers of load/visitors. Then plan for a safe margin you want to have, and rent websites / buy servers accordingly.
Solution 2:
Look at your processor usage and resource consumption during peak times and throughout the day. Extrapolate from their to how many more sites would bring the server to no more than 75%, at the most. Keep on monitoring this number as you add more sites.
You don't want to push the limit, since the less of a threshold you have, one site that has a big day or some inefficient code (ie: the site becomes "heavy") can bring down your machine if you are not careful.