Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 07-24-2007, 05:45 AM   #1
Registered: Jul 2005
Location: Jakarta / Kuala Lumpur
Distribution: Slackware, Debian, Ubuntu, Centos
Posts: 40

Rep: Reputation: 15
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
This is ApacheBench, Version 2.0.40-dev <$Revision: $> apache-2.0
Copyright (c) 1996 Adam Twiss, Zeus Technology Ltd,
Copyright (c) 1998-2002 The Apache Software Foundation,

Benchmarking (be patient).....done

Server Software: Apache
Server Hostname:
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?



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Stress Test In Linux? carlosinfl Linux - Hardware 9 08-16-2012 08:56 PM
CPU/Memory stress test twantrd Programming 2 11-12-2005 08:49 PM
CPU stress test CTRLBREAK Linux - Hardware 2 02-24-2005 07:21 PM
how to do a stress test on a mail server? yenonn Linux - Networking 1 08-01-2004 05:05 PM
hard disk stress test alaios Linux - Hardware 2 05-23-2004 08:45 PM

All times are GMT -5. The time now is 05:06 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration