Welcome! Log In Create A New Profile

Advanced

Timeout when upstream response is big

yongtao_you@yahoo.com via nginx
August 01, 2019 08:12AM
Hi,
I have a backend server behind nginx (version 1.12.1) which acts as a reserve proxy. Everything works fine when the responses from the backend is small. However, if the backend server's response is big (> 85K), then the nginx will return the first 85941 bytes in the response body, and then timeout while trying to read the rest of the response from upstream. This happens consistently. And if I hit the backend server directly with the same request, I get back the whole response, instantly.

Did I run into some kind of limit? The nginx config is minimal. Pretty much everything is default. Any hints?

Thanks!
Yongtao

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Timeout when upstream response is big

yongtao_you@yahoo.com via nginx August 01, 2019 08:12AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 75
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready