Welcome! Log In Create A New Profile

Advanced

Re: proxy_pass and concurrent connections

Maxim Dounin
February 28, 2018 10:54AM
Hello!

On Wed, Feb 28, 2018 at 11:52:18AM +0100, Дилян Палаузов wrote:

> when I try to enter a bug at
> https://trac.nginx.org/nginx/newticket#ticket, choose as version
> 1.12.x and submit the system rejects the ticket with the
> message:
>
> Warning: The ticket field 'nginx_version' is invalid:
> nginx_version is required

That's about the "nginx -V" field you've left blank.

> And here is the actual question:
>
> proxy_pass can accept an URL or a server group. When a server
> group (upstream) is defined, then with max_conns= the maximum
> number of simultaneous connections can be specified.
>
> The documentation of proxy_pass shall clarify, whether by
> default with URL only consequent connections are allowed/whether
> defining upstream is the only way to introduce parallelism
> towards the proxy.

Or not, bacause the answer is obvious unless you have very strange
background. Moreover, the documentation explicitly explains the
default for "max_conns", so this should be obvious regardless of
the background:

: max_conns=number
: limits the maximum number of simultaneous active connections to
: the proxied server (1.11.5). Default value is zero, meaning there
: is no limit.

If you for some reason think that only consequent connections are
allowed, most likely you are facing limitations of your backend.

--
Maxim Dounin
http://mdounin.ru/
_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

proxy_pass and concurrent connections

Дилян Палаузов 420 February 28, 2018 08:28AM

Re: proxy_pass and concurrent connections

Maxim Dounin 156 February 28, 2018 10:54AM

Re: proxy_pass and concurrent connections

Дилян Палаузов 227 February 28, 2018 01:36PM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 104
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