nginx 1.4.1 - slow transfers / connection resets

Lukas Tribus luky-37 at
Mon Aug 19 17:05:10 UTC 2013


>   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
>                                  Dload  Upload   Total   Spent    Left  Speed
> 100 1196k    0 1196k    0   343   2047      0 --:--:--  0:09:58 --:--:--  1888
> curl: (56) Recv failure: Connection reset by peer

Looks like there is some timeout at 600 seconds (Time Spent: 0:09:58)? Any match
in the haproxy or nginx configurations?

> I have a nginx (stock ubuntu config) as a reverse proxy in front of  a
> haproxy in front of 5 more nginx machines which use fastcgi to talk to
> php-fpm.

Since you can reproduce it with curl, why not track the issue down to a
specific part of your infrastructure (try on the nginx backends first,
then on the haproxy box, and then on the frontent nginx box).


More information about the nginx mailing list