0

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.

jimy
  • 177
  • 2
  • 3
  • 8
  • 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 03 '12 at 21:21

2 Answers2

0

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

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

Brent
  • 305
  • 2
  • 11
0

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

jimy
  • 177
  • 2
  • 3
  • 8