Bug#229011: apachebech2 with keepalive show too much bad response
Package: apache2-common
Version: 2.0.48-4
Severity: normal
Tags: sid
dd if=/dev/zero of=big.html count=64k bs=1
dazzle:~# ab2 -k -n 10 http://127.0.0.1/big.html
Complete requests: 10
Failed requests: 9
(Connect: 0, Length: 0, Exceptions: 0)
Write errors: 0
Non-2xx responses: 9
Keep-Alive requests: 10
dazzle:~# ab2 -n 10 http://127.0.0.1/big.html
Complete requests: 10
Failed requests: 0
Write errors: 0
I attached:
dazzle:~# ab2 -v 3 -k -n 10 http://127.0.0.1/big.html >/tmp/ab2log
An other strange:
Complete requests: 10
Failed requests: 11
(Connect: 0, Length: 6, Exceptions: 0)
Write errors: 0
Non-2xx responses: 5
Keep-Alive requests: 10
(same command: ab2 -v 3 -k -n 10 http://127.0.0.1/big.html)
-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux dazzle.mezon.net 2.4.21-grsec #1 Tue Aug 19 14:38:31 CEST 2003 i686
Locale: LANG=C, LC_CTYPE=C
Versions of packages apache2-common depends on:
ii debconf 1.4.7 Debian configuration management sy
ii debianutils 2.6.2 Miscellaneous utilities specific t
ii libapr0 2.0.48-4 The Apache Portable Runtime
ii libc6 2.3.2.ds1-11 GNU C Library: Shared libraries an
ii libdb4.1 4.1.25-16 Berkeley v4.1 Database Libraries [
ii libexpat1 1.95.6-6 XML parsing C library - runtime li
ii libldap2 2.1.23-1 OpenLDAP libraries
ii libssl0.9.7 0.9.7c-5 SSL shared libraries
ii mime-support 3.24-1 MIME files 'mime.types' & 'mailcap
ii net-tools 1.60-9 The NET-3 networking toolkit
ii openssl 0.9.7c-5 Secure Socket Layer (SSL) binary a
ii ssl-cert 1.0-7 Simple debconf wrapper for openssl
ii zlib1g 1:1.2.1-3 compression library - runtime
-- no debconf information
This is ApacheBench, Version 2.0.40-dev <$Revision: 1.121.2.4 $> apache-2.0
Copyright (c) 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Copyright (c) 1998-2002 The Apache Software Foundation, http://www.apache.org/
Benchmarking 127.0.0.1 (be patient)...INFO: POST header ==
---
GET /big.html HTTP/1.0
User-Agent: ApacheBench/2.0.40-dev
Connection: Keep-Alive
Host: 127.0.0.1
Accept: */*
---
LOG: header received:
HTTP/1.1 200 OK
Date: Thu, 22 Jan 2004 09:34:24 GMT
Server: Apache/1.3.29 (Debian GNU/Linux) PHP/4.3.3 mod_perl/1.29
Last-Modified: Wed, 21 Jan 2004 11:35:57 GMT
ETag: "212012-10000-400e641d"
Accept-Ranges: bytes
Content-Length: 65536
Keep-Alive: timeout=15, max=100
Connection: Keep-Alive
Content-Type: text/html; charset=iso-8859-1
LOG: Response code = 200
LOG: header received:
LOG: header received:
HTTP/1.1 200 OK
Date: Thu, 22 Jan 2004 09:34:24 GMT
Server: Apache/1.3.29 (Debian GNU/Linux) PHP/4.3.3 mod_perl/1.29
Last-Modified: Wed, 21 Jan 2004 11:35:57 GMT
ETag: "212012-10000-400e641d"
Accept-Ranges: bytes
Content-Length: 65536
Keep-Alive: timeout=15, max=100
Connection: Keep-Alive
Content-Type: text/html; charset=iso-8859-1
LOG: Response code = 200
LOG: header received:
LOG: header received:
HTTP/1.1 200 OK
Date: Thu, 22 Jan 2004 09:34:24 GMT
Server: Apache/1.3.29 (Debian GNU/Linux) PHP/4.3.3 mod_perl/1.29
Last-Modified: Wed, 21 Jan 2004 11:35:57 GMT
ETag: "212012-10000-400e641d"
Accept-Ranges: bytes
Content-Length: 65536
Keep-Alive: timeout=15, max=100
Connection: Keep-Alive
Content-Type: text/html; charset=iso-8859-1
LOG: Response code = 200
LOG: header received:
LOG: header received:
HTTP/1.1 200 OK
Date: Thu, 22 Jan 2004 09:34:24 GMT
Server: Apache/1.3.29 (Debian GNU/Linux) PHP/4.3.3 mod_perl/1.29
Last-Modified: Wed, 21 Jan 2004 11:35:57 GMT
ETag: "212012-10000-400e641d"
Accept-Ranges: bytes
Content-Length: 65536
Keep-Alive: timeout=15, max=100
Connection: Keep-Alive
Content-Type: text/html; charset=iso-8859-1
LOG: Response code = 200
LOG: header received:
LOG: header received:
HTTP/1.1 200 OK
Date: Thu, 22 Jan 2004 09:34:24 GMT
Server: Apache/1.3.29 (Debian GNU/Linux) PHP/4.3.3 mod_perl/1.29
Last-Modified: Wed, 21 Jan 2004 11:35:57 GMT
ETag: "212012-10000-400e641d"
Accept-Ranges: bytes
Content-Length: 65536
Keep-Alive: timeout=15, max=100
Connection: Keep-Alive
Content-Type: text/html; charset=iso-8859-1
LOG: Response code = 200
LOG: header received:
LOG: header received:
HTTP/1.1 200 OK
Date: Thu, 22 Jan 2004 09:34:24 GMT
Server: Apache/1.3.29 (Debian GNU/Linux) PHP/4.3.3 mod_perl/1.29
Last-Modified: Wed, 21 Jan 2004 11:35:57 GMT
ETag: "212012-10000-400e641d"
Accept-Ranges: bytes
Content-Length: 65536
Keep-Alive: timeout=15, max=100
Connection: Keep-Alive
Content-Type: text/html; charset=iso-8859-1
LOG: Response code = 200
LOG: header received:
LOG: header received:
HTTP/1.1 200 OK
Date: Thu, 22 Jan 2004 09:34:24 GMT
Server: Apache/1.3.29 (Debian GNU/Linux) PHP/4.3.3 mod_perl/1.29
Last-Modified: Wed, 21 Jan 2004 11:35:57 GMT
ETag: "212012-10000-400e641d"
Accept-Ranges: bytes
Content-Length: 65536
Keep-Alive: timeout=15, max=100
Connection: Keep-Alive
Content-Type: text/html; charset=iso-8859-1
LOG: Response code = 200
LOG: header received:
LOG: header received:
HTTP/1.1 200 OK
Date: Thu, 22 Jan 2004 09:34:24 GMT
Server: Apache/1.3.29 (Debian GNU/Linux) PHP/4.3.3 mod_perl/1.29
Last-Modified: Wed, 21 Jan 2004 11:35:57 GMT
ETag: "212012-10000-400e641d"
Accept-Ranges: bytes
Content-Length: 65536
Keep-Alive: timeout=15, max=100
Connection: Keep-Alive
Content-Type: text/html; charset=iso-8859-1
LOG: Response code = 200
LOG: header received:
LOG: header received:
HTTP/1.1 200 OK
Date: Thu, 22 Jan 2004 09:34:24 GMT
Server: Apache/1.3.29 (Debian GNU/Linux) PHP/4.3.3 mod_perl/1.29
Last-Modified: Wed, 21 Jan 2004 11:35:57 GMT
ETag: "212012-10000-400e641d"
Accept-Ranges: bytes
Content-Length: 65536
Keep-Alive: timeout=15, max=100
Connection: Keep-Alive
Content-Type: text/html; charset=iso-8859-1
LOG: Response code = 200
LOG: header received:
LOG: header received:
HTTP/1.1 200 OK
Date: Thu, 22 Jan 2004 09:34:24 GMT
Server: Apache/1.3.29 (Debian GNU/Linux) PHP/4.3.3 mod_perl/1.29
Last-Modified: Wed, 21 Jan 2004 11:35:57 GMT
ETag: "212012-10000-400e641d"
Accept-Ranges: bytes
Content-Length: 65536
Keep-Alive: timeout=15, max=100
Connection: Keep-Alive
Content-Type: text/html; charset=iso-8859-1
LOG: Response code = 200
...done
Server Software: Apache/1.3.29
Server Hostname: 127.0.0.1
Server Port: 80
Document Path: /big.html
Document Length: 73382 bytes
Concurrency Level: 1
Time taken for tests: 0.100537 seconds
Complete requests: 10
Failed requests: 9
(Connect: 0, Length: 0, Exceptions: 0)
Write errors: 0
Non-2xx responses: 9
Keep-Alive requests: 10
Total transferred: 811008 bytes
HTML transferred: 733820 bytes
Requests per second: 99.47 [#/sec] (mean)
Time per request: 10.054 [ms] (mean)
Time per request: 10.054 [ms] (mean, across all concurrent requests)
Transfer rate: 7877.70 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 0 0.0 0 0
Processing: 8 8 0.5 8 9
Waiting: -6 -4 0.7 -5 0
Total: 8 8 0.5 8 9
Percentage of the requests served within a certain time (ms)
50% 8
66% 8
75% 8
80% 9
90% 9
95% 9
98% 9
99% 9
100% 9 (longest request)
Reply to: