Re: Performance / AB issue?

From: Date: Thu, 10 May 2012 15:40:54 +0000
Subject: Re: Performance / AB issue?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-317830@lists.php.net to get a copy of this message
On Thu, May 10, 2012 at 9:04 AM, Lars Nielsen <lars@lfweb.dk> wrote: > Hi there, > > I have apache-2.22/php 5.3.10 set up on a dedicated server but I have a > strange issue. > > I have made a Drupal 7 site with a mysql db. > > If I stress-test the site with : ab -c 1 -n 150 > http://sitename/ it works > fine. > If I stress-test the site with : ab -c 2 -n 20 http://sitename/ > it kills > apache. > If I stress-test the site with : ab -c 50 -n 1500 > http://sitename/static.html it works fine. > > I have set apache's errorlog to debug. But it writes nothing, either in > the virtualhost or in the server-file. > > Can anyone give a hint about what can be wrong? > > What do you mean with 'kills apache', does it terminate apache or does apache hang (eg. 100% cpu), and respond normal after the stress test is over? And what is the index of your site? A php script, or..? Do you have ModRewrite redirects etc? - Matijn

« previous php.general (#317830) next »