Re: ApacheBench + PHP and Failed requests ?
| From: | Rasmus Lerdorf | Date: | Thu, 22 Jun 2000 16:28:40 +0000 |
| Subject: | Re: ApacheBench + PHP and Failed requests ? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-2646@lists.php.net to get a copy of this message | ||
> 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.
-Rasmus