Re: ApacheBench says my site is unstable?

2001-10-29 Thread Joshua Chamas

Philip Mak wrote:

 Time taken for tests:   21.109 seconds
 Complete requests:  1000
 Failed requests:22
(Connect: 0, Length: 22, Exceptions: 0)
 Total transferred:  196578 bytes
 HTML transferred:   12714 bytes
 Requests per second:47.37
 Transfer rate:  9.31 kb/s received


If ApacheBench complains about length problems, it means
that the length of subsequent requests differs from the 
output length of the first request, so dynamic content usually
screws up ab's response in this way.

--Josh
_
Joshua Chamas   Chamas Enterprises Inc.
NodeWorks Founder   Huntington Beach, CA  USA 
http://www.nodeworks.com1-714-625-4051



Re: ApacheBench says my site is unstable?

2001-10-29 Thread Philip Mak

On Mon, 29 Oct 2001, Joshua Chamas wrote:

  Complete requests:  1000
  Failed requests:22
 (Connect: 0, Length: 22, Exceptions: 0)

 If ApacheBench complains about length problems, it means
 that the length of subsequent requests differs from the
 output length of the first request, so dynamic content usually
 screws up ab's response in this way.

I thought about that, but the test script just prints Hello world every
time (static length). The failed requests got 0 bytes, according to the
access_log.

I haven't figured out this problem yet, but I'm hoping it's a problem with
ab (after all, it really shouldn't just crash with Broken pipe like
that...).