Re: ApacheBench + PHP and Failed requests ?

From: Date: Thu, 22 Jun 2000 19:01:34 +0000
Subject: Re: ApacheBench + PHP and Failed requests ?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-2685@lists.php.net to get a copy of this message
Hi Rasmus, Rasmus Lerdorf a écrit : > > > I would like to know if someone is able to tell me why when I call php > > pages with ApacheBench I get : > > > > Complete requests : 21 > > Failed requests : 20 > > (Connect: 0, Length: 20, Exceptions: 0) > > > > Could you explain me what are the Failed requests I have ? > > What can I do to correct this trouble ? > > > > If I call classical HTML I get FAILED request : 0 ... > > What does your PHP script do? With ApacheBench, if the same URL doesn't > produce the same output on every request, it is marked as failed. So, if > you had a PHP page that displayed the time, for example, you would get a > lot of failed requests. Ok I see what you mean, my code random for two products in a list to show them ;)) Regards, -- Hervé Elma Ingenierie Informatique 6, rue du Faubourg Saint-Honoré F-75008 - Paris - France http://www.elma.fr Tel: +33-1-44949901 Fax: +33-1-44949902 Email: herve@elma.fr

« previous php.general (#2685) next »