Apparently there is a patch to fix it, here, but I could not get it to work. That and the post is in another language, that google did a sos-so job of translating. I had read somewhere that this was fixed in new version of apache, version 2.3.14 (download here), which is in beta. I didn’t need to (or want to) install all of Apache, just ApacheBench so I compiled the source and copied over the binary. Here are the steps:

I was just bitten by this, too. I was all psyched about benching my new web app and felt very disappointed when `ab` returned the errors you mentioned. At first I thought it was my app, which would be really bad. But when I still got the same error after I had lowered the concurrency count to 1 and the max requests to 10, I knew something was either really amiss with my app server, OS X’s networking stack was boofed, or `ab` had problems. Thanks for reporting this so I didn’t have to go on a long, wild goose chase.

Michael ChangDecember 21st, 2011

Thanks for posting.

Btw, we only have to build a new ab, so only have to make in support folder.