Re: least_conn not working for me

2020-12-25 Thread kenneth.s.brooks
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 client. We were able to show that it was indeed doing least_conn by downloading a file that was mult

Re: least_conn not working for me

2020-12-23 Thread kenneth.s.brooks
Perhaps another question that might help me debug it. Is there a way to see active connection counts to upstream servers? I have the status endpoint enabled, but that just shows me total active connections for the worker process as a whole, correct? Posted at Nginx Forum: https://forum.nginx.org/

Re: least_conn not working for me

2020-12-23 Thread kenneth.s.brooks
Thanks for the response. I understand what you are saying about the worker processes. We have only a single worker process. I have 2 upstream servers. To validate: I am sending a request for a LARGE file. I see it hit server1. Server1 is now serving that request for the next couple of minutes. I

Re: least_conn not working for me

2020-12-23 Thread kenneth.s.brooks
Small update: Moved to 1.18.0 and still seeing the same results. Posted at Nginx Forum: https://forum.nginx.org/read.php?2,290285,290287#msg-290287 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx