Questions tagged [ab]

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.

49 questions
2
votes
5 answers

slow SSL apache server

I have a problem with a slow Apache server with SSL 256bit cert ab -n 500 https://example.com/ Time per request 29 ms ab -n 500 http://example.com/ Time per request 10 ms 52 Bytes is sent in both requests and the tests are done from a server in…
clarkk
  • 2,035
  • 8
  • 24
  • 36
2
votes
1 answer

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 "http://x.x.x.x/image.jpg" Output: This is ApacheBench, Version…
goLK
  • 21
  • 1
  • 4
2
votes
0 answers

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 validate on every occasion, resulting in a lot of…
dronus
  • 1,178
  • 1
  • 13
  • 15
2
votes
1 answer

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 390req/sec If I add the -k Keep-Alive flag, it comes…
Codemonkey
  • 1,086
  • 4
  • 19
  • 41
2
votes
1 answer

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 "http://localhost/" output: .... Complete requests: …
andy boot
  • 121
  • 3
2
votes
2 answers

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 the same remote server, I am just running ab in…
bperdue
  • 121
  • 4
2
votes
1 answer

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 numbers than I am such…
Scott
  • 121
  • 1
  • 4
2
votes
0 answers

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 server could not handled 200 requests? Or what exactly…
Registered User
  • 1,463
  • 5
  • 18
  • 37
2
votes
1 answer

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 enabled in httperf. I tried…
letronje
  • 429
  • 1
  • 6
  • 17
2
votes
1 answer

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 concurrent threads) goes down. However, once the…
cseric
  • 153
  • 1
  • 2
1
vote
0 answers

Is Apache Prefork working fast then Worker MPM to serve static content?

I have found so many stuff related to Apache worker MPM is working fast than Prefork MPM, i know nginx is another option but i want to stick on apache as for use of htaccess and some other features, so i am doing a comparison using apache benchmark…
Mike
  • 11
  • 1
1
vote
0 answers

I do a AB Apache Test and it seems good, But when I load my website I get Errors

I have an online shopping website, I use WordPress, WooCommerce and W3 Total Cache. I do a AB: ab -l -r -n 600 -c 30 -k -H "Accept-Encoding: gzip, deflate" And I get the following results: Server Software: LiteSpeed Server…
Mehdi Namvar
  • 111
  • 1
1
vote
2 answers

Optimizing HAProxy SSL Termination (with Nginx backend on Ubuntu)

How can I optimize HAProxy with SSL Termination to Nginx backends on Ubuntu? The setup works fine and routes properly. However, when I perform SSL Termination with HAProxy, theres a huge performance hit (tests below). The key is 4096-bit rsa.…
1
vote
1 answer

Why is Apache 2.4.7 in ab tests just as fast as NginX 1.4.6?

Im very confused right now... I've always used Nginx to serve up static files and pass off php to Apache. I built a new box 4GB Ram, installed Apache 2.4.7 with mpm_prefork module and NginX 1.4.6. I setup what I needed to and decided to run some…
Eko3alpha
  • 147
  • 1
  • 8
1
vote
0 answers

Haproxy load balancing TPS lower than single node

I have 2 apache2 servers running in the back end and have a haproxy between them and the clients. If I bench tested anyone of these apache2 severs with ab i get north of a 1500TPS however when I bench test the HAproxy I get less than this value.…
sqwale
  • 141
  • 1
  • 8