Re: mod_perl server doesn't reply

[prev] [thread] [next] [Date index for 2005/03/21]

From: Stas Bekman
Subject: Re: mod_perl server doesn't reply
Date: 21:51 on 21 Mar 2005
Anders Nielsen wrote:
[...]
> I have been doing some testing with ab and I found some interesting
> cases.
> 
> 
> On our production system I get the following when testing an important
> mod_perl enabled script from my local desktop:
> 
> $ ab -n 100 -c 5 "http://www.xxxxxx.dk/cgi/xxxxxx.cgi?q=test&allowall=1";
[...]
> Failed requests:        21
>    (Connect: 0, Length: 21, Exceptions: 0)

Googling helps :) Rich Graves says:
http://my.brandeis.edu/bboard/q-and-a-fetch-msg?msg_id=0001GK
(Ignore "failed requests" -- ab considers it a failure when content is 
different, but that should be true for a dynamic page.

So if they were supposed to give the same content, than you have something 
to look at.

> There are 21 failed requests which is surprising to me. The error type
> is Length. What does this mean? I don't see any explanation of the
> output of ab on the man page.
> 
> 
> 
> When testing our development server I sometimes get this error from ab:
> Completed 1000 requests
> Completed 2000 requests
> Completed 3000 requests
> apr_recv: Connection reset by peer (104)
> Total of 3320 requests completed
> 
> I don't know what this mean either. I am not sure why the ab would die
> of this kind of error instead of just reporting that an error happened.

Could be some problem in Apache or mod_perl. That normally means that the 
server has aborted the connection.

        -- 
        __________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@xxxxxx.xxx http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com

(message missing)

mod_perl server doesn't reply
Anders Nielsen 09:47 on 16 Mar 2005

Re: mod_perl server doesn't reply
Anders Nielsen 12:00 on 16 Mar 2005

Re: mod_perl server doesn't reply
Stas Bekman 02:11 on 17 Mar 2005

Re: mod_perl server doesn't reply
Anders Nielsen 14:57 on 18 Mar 2005

Re: mod_perl server doesn't reply
Stas Bekman 16:15 on 18 Mar 2005

Re: mod_perl server doesn't reply
Anders Nielsen 22:25 on 18 Mar 2005

Re: mod_perl server doesn't reply
Stas Bekman 22:37 on 18 Mar 2005

Re: mod_perl server doesn't reply
Anders Nielsen 14:10 on 20 Mar 2005

Re: mod_perl server doesn't reply
Stas Bekman 21:51 on 21 Mar 2005

Re: mod_perl server doesn't reply
Anders Nielsen 15:53 on 23 Mar 2005

Generated at 15:10 on 27 Mar 2005 by mariachi v0.52