[Zope-dev] Wrong length for http requests!

Joachim Werner joe@iuveno.de
Fri, 7 Jun 2002 21:03:21 +0200


Hi!

I am getting the following results from an ab (Apache benchmark) run against
a Zope site:

Concurrency Level:      20
Time taken for tests:   11.862 seconds
Complete requests:      40
Failed requests:        23
   (Connect: 0, Length: 23, Exceptions: 0)
Total transferred:      1517831 bytes
HTML transferred:       1504991 bytes
Requests per second:    3.37
Transfer rate:          127.96 kb/s received

Connnection Times (ms)
              min   avg   max
Connect:        0     2     8
Processing:   326  4525  5953
Total:        326  4527  5961

The failed requests are due to a length error. When I look at the detailed
log, I see differing lengths for requests to exactly the same page:

B 161954188 2002-06-07T20:55:01 GET /instances/KU/index_html
I 161954188 2002-06-07T20:55:01 0
A 162098188 2002-06-07T20:55:01 200 37947
E 162098188 2002-06-07T20:55:01
B 159004660 2002-06-07T20:55:01 GET /instances/KU/index_html
I 159004660 2002-06-07T20:55:01 0
A 159706548 2002-06-07T20:55:01 200 37963
E 159706548 2002-06-07T20:55:01
B 158147100 2002-06-07T20:55:01 GET /instances/KU/index_html
I 158147100 2002-06-07T20:55:01 0
A 159649356 2002-06-07T20:55:02 200 37923
E 159649356 2002-06-07T20:55:02

Does anybody know where that might come from? I will get into more detail on
how the page is generated if you need to know. But I'd need a first hint
where to look at first because there is lot of code involved ...

Cheers

Joachim