"110: Connection timed out" and "104: Connection reset by peer" error in nginx error log
reallfqq-nginx at yahoo.fr
Wed Nov 19 09:20:21 UTC 2014
Not nginx-related (you are on the nginx mailing list).
As your log clearly indicates, your upstream sometimes fails either by
resetting connections improperly or even by not accepting them at all.
Everything indicates your backend does not sustain the load.
The most troublesome part is IMHO the fact it kills active connections
improperly. Try to get information on what happens on the backend machine.
See if something like shortage of file descriptors or anything leading to
One thing you could do to alleviate the load on the backend with the
current setup would be to add cache where you proxy/redirect requests to
your backend (See *_cache directives, depending on the module you are
On Wed, Nov 19, 2014 at 9:59 AM, nmhaske <nginx-forum at nginx.us> wrote:
> Hi All,
> When i run my Jmeter load test with 2000 users ,I got below 2 error in
> error log frequently.
> 2014/11/06 11:05:40 [error] 3430#0: *18263 connect() failed (110:
> timed out) while connecting to upstream, client: 184.108.40.206, server:
> proteus.io, request: "POST /v1/!syncData/1415271933826/sync HTTP/1.1",
> "http://127.0.0.1:2480/function/pharos/syncData/1415271933826/sync", host:
> 2014/11/06 11:05:46 [error] 3430#0: *18266 recv() failed (104: Connection
> reset by peer) while reading response header from upstream, client:
> 220.127.116.11, server: proteus.io, request: "POST
> /v1/!syncData/1415271934189/sync HTTP/1.1", upstream:
> "http://127.0.0.1:2480/function/pharos/syncData/1415271934189/sync", host:
> We are using nginx as web server and orientdb as database.
> So please suggest solution to resolve this issues.
> Posted at Nginx Forum:
> nginx mailing list
> nginx at nginx.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the nginx