performancemacosapacheapachebench

ab (Apache Bench) issues on OS X


I am having frustrating issues with trying to perform a highly concurrent test using ab (apache bench) on OS X. A snippet of the output looks like:

Completed 1998 requests
Completed 2664 requests
Completed 3330 requests
apr_pollset_poll: The timeout specified has expired (70007)

The command I am running is something like: (I would like the concurrency to be even higher! My goal is to get at least 20,000 rpm to hit the server)

ab -k -r -c 400 -n 60000 [URL HERE]

Has anyone run into this -- love a push in the right direction? And I would love to do this on my mac.

My Environment:


Solution

  • I have found an awesome utility that solved my problem elegantly:

    Bees with Machine Guns!!

    Repository: https://github.com/newsapps/beeswithmachineguns

    Blog entry about it: http://blog.apps.chicagotribune.com/2010/07/08/bees-with-machine-guns/