Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

We have purchased a 20 Gb and 512 MB ram box from rackspace. We have installed apache2, php5 and mysql to run a website (shopping site). The problem from last 4 days is that after some requests the apache process are multiplying and the server is coming to halt (not responding). To test the number of requests we tried siege -c25 -t1M www.styleos.com and after 10 request we get Connection time out .

Can anyone tell whats the problem.

share|improve this question
    
Can you check what your memory usage looks like once you hit those 10 clients and provide the output of vmstat here? Also what's the output of free -m at that point as well? – Linztm Jul 3 '12 at 21:21

What are you seeing in /var/log/apache2/*error.log.

Are you seeing "server reached MaxClients setting, consider raising the MaxClients setting"

share|improve this answer
    
No... nothing like that in error.log – jimy Feb 10 '12 at 8:41
up vote 0 down vote accepted

Fixed it. The problem was not with the server. The problem was with the code.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.