least_conn not working for me
nginx-forum at forum.nginx.org
Sat Dec 26 01:04:21 UTC 2020
Wanted to follow up to say that you were spot on.
The file was ~800mb and it was indeed caching the whole thing. We could see
the file get served to nginx and then nginx continued to serve to the
We were able to show that it was indeed doing least_conn by downloading a
file that was multiple gigabytes in size. This exceeded the buffer and would
tie up that connection. When that happened we would then see connections get
routed to the other upstream.
Thanks so much for helping educate us.
Posted at Nginx Forum: https://forum.nginx.org/read.php?2,290285,290320#msg-290320
More information about the nginx