• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 243
  • Last Modified:

Hardware requirements

I am going to setup a new web environment. My OS would be Enterprise Linux and webserver would be Apache. Please let me know the RAM size I need to use based on the Hitcount we have. We would be having 5000 concurrent users at any point of time.

Also please let me know how we can estimate it.

0
Raz
Asked:
Raz
  • 8
  • 7
1 Solution
 
McRonisCommented:
Have you considered nginx frontend for static files ?
I think 8GB RAM will do the job. At it depends what kind site it is, is it streaming site, news site, download site, etc.
0
 
RazAuthor Commented:
It is a learning site. Mostly comprised of Tutorial videos. And also few downloads. Please let me know how to estimate that. Is there a specific procedure?
0
 
RazAuthor Commented:
My client is ready to provide 24GB RAM. Is it fine to use more RAM?
0
The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

 
McRonisCommented:
As far as i know, there is no specific procedure.
Many things depend on website scripts, how optimized it is, how many cores your webserver has, HDD IOPS. More optimized webserver & website is, less resources it needs.
But, if you want to be sure, take 12 - 16GB RAM, it will be enough, and memory prices nowadays are pretty low. If there will be problems with performance, do some tuning to apache config or/and setup nginx frondend for static file serving. It's very nice method, how to reduce server load.
0
 
McRonisCommented:
24GB will be ok, you can always the server tuning.
0
 
McRonisCommented:
I have setup a webserver that has Intel Xeon "Nehalem" series, with 4 GB RAM it can easily do 50000 page views per day, site was html/php, company website.
I think you will be fine with your server.
0
 
RazAuthor Commented:
I have 5 cores in my webserver and using MPM worker. I have tuned it well. Wht if my concurrent user number increases to 30000. Wht should be the RAM size at that time?
0
 
RazAuthor Commented:
How much should be the SWAP space for my current(5000 users) scenario?
0
 
McRonisCommented:
1. It depends, how heavy scripts you have on website, with 18GB - 24GB RAM (Triple-channel RAM) it should be ok. But the only way how to find out is to actually run the site and monitor the server.
2. SWAP is only activated when you are out of ram.
0
 
RazAuthor Commented:
For my site.. at any point 5000 users will be accessing the site. If we take the hit count per day, it would be more than 1,000,000
0
 
McRonisCommented:
Make sure that you have enough fast CPU and pretty nice HDD IO.
0
 
RazAuthor Commented:
Here is the CPU I am going to use.

1 x Intel Core2 Duo (24 GB) HDD 200 GB
0
 
McRonisCommented:
Core 2 Duo ? Are you serious ? That CPU is 5 year old, no way, it won't get 1000k views per day with.
By the way, Core2 Duo doesn't support 24GB RAM.
I think you are missing something. You mentioned that you have 5 cores, C2D is just 2 cores.
0
 
RazAuthor Commented:
How much RAM does Core 2 Duo support?

Does any of the below CPUs work for 1000k views?

Xeon 5150 2 Ghz Dual CPU Dual Core

2 x  Intel Core 2 Quad
0
 
McRonisCommented:
Q) How much RAM does Core 2 Duo support?
A) It depends on chipset. Intel P35 support 8GB, P45 chipset support 16GB RAM.

2x Core2 Quad will do the job.
0
 
Dave BaldwinFixer of ProblemsCommented:
If you're serving up videos, you need to make sure that your sustained bandwidth will be adequate.  I'm not certain this is a correct calculation but if 1000 of those connecting are viewing videos at 300Kbps, that is a sustained bandwidth of 300Mbps by my arithmetic.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 8
  • 7
Tackle projects and never again get stuck behind a technical roadblock.
Join Now