Apache Question
Steve
steve at iwsys.com
Wed Jun 27 09:05:21 PDT 2001
I'm trying to figure something out with Apache's ab (apache bench). If I
do the benchmark on a .html file I get:
# ab -n 1000 http://127.0.0.1/index.html
This is ApacheBench, Version 1.3c <$Revision: 1.41 $> apache-1.3
Copyright (c) 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Copyright (c) 1998-1999 The Apache Group, http://www.apache.org/
Server Software: Apache/1.3.14
Server Hostname: 127.0.0.1
Server Port: 80
Document Path: /index.html
Document Length: 2511 bytes
Concurrency Level: 1
Time taken for tests: 2.889 seconds
Complete requests: 1000
Failed requests: 0
Total transferred: 2783000 bytes
HTML transferred: 2511000 bytes
Requests per second: 346.14
Transfer rate: 963.31 kb/s received
Connnection Times (ms)
min avg max
Connect: 0 0 0
Processing: 0 2 932
Total: 0 2 932
If I do the same on a .php file (using php 4.06 as a DSO) I get 98 of 100
failures... Don't understand this one. It fails on "length". Any ideas
on what this means? It does the same on a different machine with Apache
1.3.20 and php 4.0.6 compiled statically into Apache.
# ab -n 100 http://127.0.0.1/default.php
This is ApacheBench, Version 1.3c <$Revision: 1.41 $> apache-1.3
Copyright (c) 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Copyright (c) 1998-1999 The Apache Group, http://www.apache.org/
Server Software: Apache/1.3.14
Server Hostname: 127.0.0.1
Server Port: 80
Document Path: /default.php
Document Length: 22551 bytes
Concurrency Level: 1
Time taken for tests: 24.123 seconds
Complete requests: 100
Failed requests: 98
(Connect: 0, Length: 98, Exceptions: 0)
Total transferred: 2292150 bytes
HTML transferred: 2253850 bytes
Requests per second: 4.15
Transfer rate: 95.02 kb/s received
Connnection Times (ms)
min avg max
Connect: 0 0 2
Processing: 234 240 468
Total: 234 240 470
More information about the LUAU
mailing list