least_conn not working for me

Peter Booth peter_booth at me.com
Wed Dec 23 19:06:29 UTC 2020


From a shell on your nginx host you can run something like netstat -ant | egrep “ESTAB” to see all the open TCP connections. If you run your command line with watch you will see it update each two seconds, etc ..

FWIW A long time ago I did a bunch of experiments with different load balancer strategies using both f5 LTM and nginx. 
This suggested that the simplest strategy, round-robin was optimal in most real world scenarios with heavy loads

> On 23 Dec 2020, at 1:12 PM, kenneth.s.brooks <nginx-forum at forum.nginx.org> wrote:
> 
> 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/read.php?2,290285,290292#msg-290292
> 
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20201223/be97d233/attachment.htm>


More information about the nginx mailing list