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.

14 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
2 votes
0 answers
138 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 ...
dronus's user avatar
  • 1,188
2 votes
0 answers
589 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 ...
Registered User's user avatar
1 vote
0 answers
641 views

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, ...
Mike's user avatar
  • 11
1 vote
0 answers
116 views

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: ...
Mehdi Namvar's user avatar
1 vote
0 answers
664 views

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 ...
sqwale's user avatar
  • 141
1 vote
0 answers
1k 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 ...
Emiliano Albanese's user avatar
1 vote
0 answers
297 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 ...
gremo's user avatar
  • 349
1 vote
1 answer
895 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 ...
Mauvis Ledford's user avatar
0 votes
0 answers
270 views

Why Apache Busy Workers never go back to Idle mode?

I have a CentOS 8 server, Apache 2.4, PHP 7.2, 4GB RAM and 2 Core CPUs that is not live yet. I'm using Apache MPM event and PHP-FPM static and my apache benchmark test shows server can handle 300 ...
Bernard K.'s user avatar
0 votes
1 answer
604 views

How to revive nginx after it got beatup by stress testing

Background I got two ec2 instances running laravel app on an nginx server behind a load balancer. We had the brilliant idea of running stress testing on the instances using apache ab like so: ab -...
abbood's user avatar
  • 1,127
0 votes
1 answer
1k 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 ...
mav_2k's user avatar
  • 141
0 votes
1 answer
134 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 ...
auny's user avatar
  • 101
0 votes
1 answer
632 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 ...
user644745's user avatar
0 votes
1 answer
788 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 ...
Aspis's user avatar
  • 1