LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Apache2 - ab - stress test (https://www.linuxquestions.org/questions/linux-server-73/apache2-ab-stress-test-571840/)

grant-skywalker 07-24-2007 05:45 AM

Apache2 - ab - stress test
 
Dear All,

Anyone has used apache2's ab to perform a stress test before?

===============================================================================
[06:38:57 PM] <Sysadmin - SA> # ab -n 1 -c 10 http://www.danson.com/
This is ApacheBench, Version 2.0.40-dev <$Revision: 1.121.2.1 $> 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 www.danson.com (be patient).....done


Server Software: Apache
Server Hostname: www.danson.com
Server Port: 80

Document Path: /
Document Length: 51713 bytes

Concurrency Level: 10
Time taken for tests: 0.379994 seconds
Complete requests: 1
Failed requests: 0
Write errors: 0
Total transferred: 51941 bytes
HTML transferred: 51713 bytes
Requests per second: 2.63 [#/sec] (mean)
Time per request: 3799.940 [ms] (mean)
Time per request: 379.994 [ms] (mean, across all concurrent requests)
Transfer rate: 131.58 [Kbytes/sec] received

Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 0 0.0 0 0
Processing: 379 379 0.0 379 379
Waiting: 374 374 0.0 374 374
Total: 379 379 0.0 379 379

================================================================================

Can anyone explain what does the above means?

It seems like whenever the value of 'n' bigger than 1, i'll always get failure.

Does it mean my server can only accept concurrent users request but can only allow 1 request at any one time?

Do i need to fine tune my apache setting?

regards,
Kirby


All times are GMT -5. The time now is 02:16 PM.