Welcome! Log In Create A New Profile

Advanced

Re: Upstream least_conn behavior irregularity

Ruslan Ermilov
March 21, 2013 07:48AM
On Thu, Mar 21, 2013 at 01:45:14AM -0700, John Watson wrote:
> Was investigating some issues today when we noticed that least_conn wasn't
> behaving as expected.
> upstream backend {
>   least_conn;
>   server unix:/tmp/sock-1.sock;
>   server unix:/tmp/sock-2.sock;
>   server unix:/tmp/sock-3.sock;
> }
> The expected behavior for 4 simultaneous requests it should distribute
> them:
> sock-1: 2
> sock-2: 1
> sock-3: 1
> However, what we're seeing is:
> sock-1: 3
> sock-2: 1
> sock-3: 0
> Which coincidentally lines up with the number of requests a socket can
> service simultaneously.
> This is using 1.2.7

And the number of configured worker processes is?

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

Upstream least_conn behavior irregularity

John Watson March 21, 2013 04:46AM

Re: Upstream least_conn behavior irregularity

Ruslan Ermilov March 21, 2013 07:48AM

Re: Upstream least_conn behavior irregularity

John Watson March 21, 2013 12:36PM

Re: Upstream least_conn behavior irregularity

John Watson March 21, 2013 03:06PM

Re: Upstream least_conn behavior irregularity

Ruslan Ermilov March 21, 2013 03:30PM

Re: Upstream least_conn behavior irregularity

John Watson March 21, 2013 04:04PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 299
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready