Solved

Server configuration to support concurrent users

Posted on 2014-03-02
6
59 Views
Last Modified: 2015-10-01
We currently have one server, which includes apache, mysql:

Intel Xeon 4x 3.2GHz      8 GB DDR3      120 GB SSD      10 TB BANDWIDTH

Our website times out at 21 concurrent users.

What do we need to do to support more user at the same time? Build a cluster? load balancing?
0
Comment
Question by:Sam Cohen
  • 3
  • 2
6 Comments
 
LVL 34

Expert Comment

by:Seth Simmons
ID: 39899414
have you looked at mysql and apache logs?
i would start there before spending money on additional hardware when it could be a software configuration
0
 
LVL 8

Author Comment

by:Sam Cohen
ID: 39899431
hmm,

But I will need to support 10-30,000 people at one time.
0
 
LVL 34

Expert Comment

by:Seth Simmons
ID: 39899438
this is a 2-part issue
need to first figure out why after only 21 users it craps out like that unless they are hitting the box hard like running long queries, etc. and capacity planning if you're looking at that much activity
0
NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

 
LVL 8

Author Comment

by:Sam Cohen
ID: 39899464
How would I find these things out?
How will the logs help me in this regard?
0
 
LVL 34

Expert Comment

by:Seth Simmons
ID: 39899469
if the web site is timing out, the apache  and mysql logs should help
if something (say, a php site) is communicating with mysql and it doesn't return data because mysql crashed or some other error, the logs should tell you what happened.
just having 21 users connect shouldn't bring the site to a halt; something is going on in the background

you want to look at your apache logs in the logs folder where apache is installed (location could vary depending on if it was rpm or compiled from source).  same with mysql.  it's in /var/log/mysql though it would need to be enabled manually if it isn't already

The Error Log
http://dev.mysql.com/doc/refman/5.1/en/error-log.html
0
 
LVL 11

Accepted Solution

by:
hecgomrec earned 400 total points
ID: 39900369
Your are planning to support up to 30,000 connections with only 8GB of RAM?.... I have 32GB for only 100 for OWA... I think u should start by adding some decent amount of memory to that box.  Just go to your task manager and open the performance tab to see how much memory your server is using.  You did not mention which OS you're using but if you are using Win Server 2008, you need for it at least 4GB to run it by it self as a DC, DHCP, DNS or file server... and even like this it will be slow.... it will need 8GB to run smooth for any of the above... really... add more memory to it and wait to see if you ran into the same scenario.
0

Featured Post

Control application downtime with dependency maps

Visualize the interdependencies between application components better with Applications Manager's automated application discovery and dependency mapping feature. Resolve performance issues faster by quickly isolating problematic components.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The 6120xp switches seem to have a bug when you create a fiber port channel when you have a UCS fabric interconnects talking to them.  If you follow the Cisco guide for the UCS, the FC Port channel will never come up and it will say that there are n…
More or less everybody in the IT market understands the basics of Networking, however when we start talking about Storage Networks, things get a bit dizzier, and this is where I would like to help.
This tutorial demonstrates a quick way of adding group price to multiple Magento products.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

929 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now