Maybe the headers are different? Try to increase the verbosity level for ab to get the output of the headers and the payload. Maybe you can find something there. -aj ----- Original Message ----- From: "Joachim Werner" <joe@iuveno.de> To: <zope-dev@zope.org> Sent: Friday, June 07, 2002 15:03 Subject: [Zope-dev] Wrong length for http requests!
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
_______________________________________________ Zope-Dev maillist - Zope-Dev@zope.org http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )