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

agentzh agentzh at gmail.com
Fri Nov 18 15:25:56 UTC 2011


On Fri, Nov 18, 2011 at 7:55 PM, janedenone <nginx-forum at nginx.us> wrote:
> I recently updated to nginx 1.0.8 and tried to benchmark performance for
> cached dynamic pages (initially served by a Django app via proxy_pass)
> and for static pages. In both cases, nginx will not serve more than 3 or
> 4 requests (even without concurrent connections), so ab almost
> immediately reports:
>
> Benchmarking testsite.static (be patient)...apr_socket_recv: Connection
> reset by peer (54)
>

What kind of system are you in? ab is known to have such issues in
certain Mac OS X boxes to my knowledge :)

Regards,
-agentzh



More information about the nginx mailing list