Using ab to benchmark nginx: Connection reset by peer (54)

agentzh agentzh at
Fri Nov 18 15:41:09 UTC 2011

On Fri, Nov 18, 2011 at 11:36 PM, janedenone <nginx-forum at> wrote:
> agentzh Wrote:
>> What kind of system are you in? ab is known to
>> have such issues in
>> certain Mac OS X boxes to my knowledge :)
> Well – Mac OS X. :) Are these issues to the ab version that comes with
> OS X, or are they related to the OS in general? In the former case, I'd
> just recompile ab manually.

On Mac OS X 10.6, I have to use "" instead of "localhost"
while running the ab command, or I'll get exactly the same error

And for 10.7 (Lion), people say they have to apply a patch to ab to get it work.

Hope this helps,

More information about the nginx mailing list