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

janedenone nginx-forum at nginx.us
Wed Nov 23 10:43:15 UTC 2011


agentzh Wrote:
-------------------------------------------------------

> On Mac OS X 10.6, I have to use "127.0.0.1"
> instead of "localhost"
> while running the ab command, or I'll get exactly
> the same error
> message.
> 
> And for 10.7 (Lion), people say they have to apply
> a patch to ab to get it work.
> 
> Hope this helps,
> -agentzh

Thanks a lot – I now use the -r flag, which makes ab proceed in spite
of failed requests.

- jan

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,218554,218789#msg-218789



More information about the nginx mailing list