Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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

3 Answers 3

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

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?

share|improve this answer
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.