least_conn not working for me
mdounin at mdounin.ru
Wed Dec 23 22:15:29 UTC 2020
On Wed, Dec 23, 2020 at 04:42:49PM -0500, Kenneth Brooks wrote:
> We did think that perhaps it was buffering.
> However, in our case, the "large" request is gigs in size, so there is no
> way that it is buffering that whole thing. I think our buffers are pretty
> Unless there is some absolute black magic that will buffer what it can,
> close the upstream, then open it again to ask for more of that file. :)
By default nginx can buffer up to slightly more than 1 gigabyte
(proxy_max_temp_file_size + various in-memory buffers). Further,
with proxy_cache (or proxy_store) the proxy_max_temp_file_size limit
is ignored, so nginx can buffer arbitrary responses.
More information about the nginx