ab is a command-line open source program from apache httpd project used for benchmarking a webserver. It has options for specifying concurrent connections, total number of requests and more.

learn more… | top users | synonyms

1
vote
1answer
206 views

Apache/ab testing trouble - apr_socket_recv: Connection refused (111)

I have a problem with testing Apache server 2.4 by ab. The Apache server runs on Windows as a service and I test it from another server which is on Linux. I write: ab -n 1000 -c 1000 ...
0
votes
0answers
86 views

Apache bench failing with error “No route to host”

Got a new dedicated box. Installed CentOS 6.5 Installed KVM Installed a CentOS 6.5 guest rsync'd websites/database/settings etc over from existing VPS. Set up "dedi.mydomain.com" in DNS to test it ...
1
vote
0answers
92 views

APACHE/NGINX fine tuning for Apache Benchmark testing

I need to know some tuning configuration about APACHE/NGINX. I use Ubuntu Server 12.04.4 LTS on VirtuaBox with two VM: one with APACHE 2.2.22, the other with NGINX 1.1.19. In addition I installed PHP ...
1
vote
0answers
23 views

using siege, ab, whatever to benchmark 304 not modified responses

Is it possible by simple tools like ab or siege to check a server's http 304 not modified response performance? I have a system that shold provide file changes in realtime, so the user agent has to ...
0
votes
1answer
53 views

What's the AB Command to Test 1000 Concurrent Visitors

How can I perform an AB test with 1,000 concurrent visitors in just a second? Say in 1 second, there are 1000 visitors on my site. And in another second there are 1800. In Another second again (3 ...
0
votes
1answer
76 views

Is there an apache module or a server setting that will block apache benchmark

I was trying to perform apache benchmark on one of the server. However, the apache benchmark will always getting a timeout error. I was wondering is there a module (like mod security) or a setting ...
2
votes
1answer
111 views

Is this much (40x) nginx slowdown under HTTPS to be expected?

So I've created a simple file, ab.htm, with just "test" in it. ab -n 1000 -c 10 http://www.domain.com/ab.htm gives me 15400req/sec and ab -n 1000 -c 10 https://www.domain.com/ab.htm gives me ...
0
votes
1answer
133 views

ipv6 transparent proxy usage using apache benchmark(ab) apache2-utils-2.2.22

Would anybody please provide any hints on why the ab is failing work on ipv6 client/server configuration, while ipv4 is working good ? Thanks in advance == Client configuration: Apache benchmark ...
1
vote
3answers
122 views

inconsistencies between stress test and real browsing

I have noticed that a new server that I am setting up is fairly slower than the current server, and made some stress tests/benchmarking to study the problem. But after the tests I am getting ...
0
votes
2answers
141 views

Can't get nginx to reply to ab with compressed content

ab -n 1 -H 'Accept-Encoding: gzip, deflate' http://mywebsite.com/ This always returns the uncompressed content (I can see that both from its size and because I'm sniffing the traffic with ngrep). ...
0
votes
1answer
43 views

lighttpd: SMP workers causing performance degrade

I am trying to increase the performance of my lighttpd system by using SMP workers for multiple cores.It turns out that instead of improving the performance it is degrading it. I dont seem to ...
5
votes
1answer
5k views

How to install Apache Benchmark on CentOS?

I try to install Apache Benchmark using Is there a way to install Apache Bench (ab) without installing apache solutions on my centos but when i run yumdownloader httpd, i get error: root@local ...
3
votes
1answer
265 views

Apache AB (ApacheBench) : -no-check-certificate option available?

It seems there is no option to avoid this error : "Verify return code: 20 (unable to get local issuer certificate)". Is there a way to avoid issuer ssl check with AB (like wget's -no-check-certificate ...
1
vote
0answers
120 views

Fail with ab test with nginx, two workers and 1024 connections?

I'm doing some tests with nginx 1.4.1 and Node.js 0.10.5 on my development machine (P8700 Dual Core 2.53Ghz, 4Gb RAM running Xubuntu x64). Unfortunately I can't do ab with 100000 requests with a ...
0
votes
1answer
200 views

Apache Bench reports different result with same page

I'm running into a little problem base-lining an Apache2/fcgi/php-fpm server I am setting up. If I run: ab -n 15000 http://mysite.com/index.php. Apache Bench returns Time per request: 41ms but ...
1
vote
1answer
493 views

Performance: Nginx SSL slowness or just SSL slowness in general?

I have an Amazon Web Services setup with an Apache instance behind Nginx with Nginx handling SSL and serving everything but the .php pages. In my ApacheBench tests I'm seeing this for my most ...
0
votes
3answers
328 views

What's the difference of running ab locally and remotely?

I was benchmarking my site with apache ab and I noticed that the response time had big differences when running ab on the server and running ab on a client box remotely. So what's the biggest ...
3
votes
1answer
485 views

What does “receive” and “exceptions” mean in ab (Apache Benchmark) “failures”?

Getting this result from ab: Concurrency Level:      10000 Time taken for tests:   69.153 seconds Complete requests:      30000 Failed requests:        10379   (Connect: 0, ...
2
votes
1answer
206 views

ab Failed Requests

I've built a simple apache + django + mod_wsgi webapp that I am testing on my local machine. I've started load testing it using ab - and I am seeing a few failed requests. ab -n 500 -c 100 ...
5
votes
3answers
482 views

How to replicate nginx data to two servers?

I'm trying to replicate the traffic that one specific nginx server receives to two servers. The goal is not to load-balance, but to replay the same input on all nginx servers. An example: Nginx ...
1
vote
2answers
94 views

Why are 20 requests executed in parallel slower than 10x2?

This question bothers me, and I do not think I am going to find the answer myself, so I thought it might be best to look for help. When I do: root@server1:~$ ab -n 20 -c 20 ...
3
votes
1answer
2k views

How do I analyze an Apache Bench result?

I need some help with analyzing a log from Apache Bench: Benchmarking texteli.com (be patient) Completed 100 requests Completed 200 requests Completed 300 requests Completed 400 requests Completed ...
0
votes
1answer
245 views

Difference in performance: local machine VS amazon medium instance

I see a drastic difference in performance matrix when i run it with apache benchmark (ab) in my local machine VS production hosted in amazon medium instance. Same concurrent requests (5) and same ...
0
votes
1answer
239 views

Benchmarking a webserver using AB won't parse images

I'm using AB to benchmark one of my servers but it doesn't seem to parse the images at all. If I use ... ab http://foobar.com/image1.jpg It works brilliantly, but if I use ... ab ...
2
votes
2answers
171 views

Local vs cloud benchmark testing — which is better?

I have tried using Apache Benchmark (ab) to test my server. I ran the same test twice -- once locally on my local Mac desktop and once on a Media Temple server I rent. EDIT: To clarify, I am testing ...
4
votes
1answer
698 views

Very low requests/second with fresh NGINX install

With a fresh install of nginx, I obtain these results running apache benchmark, which I feel are very very odd. The page fetched is the default static index.html test page installed by nginx. Running ...
9
votes
2answers
4k views

ApacheBenchmark ab - SSL read failed - closing connection

When I am running ab on my website I get a ton of these responses: SSL read failed - closing connection SSL read failed - closing connection SSL read failed - closing connection And some times it ...
1
vote
1answer
3k views

Apachebench on node.js server returning “apr_poll: The timeout specified has expired (70007)” after ~30 requests

I just started working with node.js and doing some experimental load testing with ab is returning an error at around 30 requests or so. I've found other pages showing a lot better concurrency ...
1
vote
0answers
432 views

server benchmarking with apache benchmark

We are testing one of our production server with ab and what we found is apr_socket_recv: Connection timed out (110) Total of 176 requests completed after some time above output.That means the ...
13
votes
3answers
14k views

Is there a way to install Apache Bench (ab) without installing apache

Can you provide instuctions on how to install ab on a fedora distro with or without installing the apache web server? With yum or compiling from source.
1
vote
1answer
748 views

Receiving error apr_socket_connect(): Invalid argument (22) when running apache bench (ab) on OSX

I received the following error on Apache bench: apr_socket_connect(): Invalid argument (22) when trying to connect to http://localhost:9202.
3
votes
3answers
2k views

http benchmarking?

im running varnish->nginx(php-fpm) and im using ab but it keeps messing up. [root@localhost src]# ab -k -n 100000 -c 750 http://192.168.135.12/index.php This is ApacheBench, Version 2.0.40-dev ...
3
votes
1answer
905 views

How to utilize Varnish for A/B Testing and Feature Rollout?

Today we have our web layer exposed to the world. We would like to add Varnish in front of our web layer to accelerate the site and reduce calls to the backend. However, we have some concerns and i ...
3
votes
2answers
1k views

Nginx / uWsgi / Django site can handle more traffic with rewrite URL

I'm running a Django app, using uWsgi behind Nginx. I've been doing some performance tuning and load testing using ApacheBench and have discovered something unexpected which I wonder if someone could ...
2
votes
1answer
719 views

command line http load testing tool that supports gzip / deflate

We use apache as our web server and it has mod_deflate enabled. We have been using httperf to test it for load but we've not been able to get it to talk to the webserver with gzip/deflate encoding ...
2
votes
1answer
443 views

How to interpret ab result?

I am using ab to load test my server. As I increase the concurrency number from 1, the requests per sec. goes up. I also see time per request (mean) goes up, while time per request (mean across all ...