upstream keepalive connections for all servers or each server?

Robert Paprocki rpaprocki at fearnothingproductions.net
Thu May 11 00:40:55 UTC 2017


>
>
> It is the number of keepalive connections to be cached for the
> whole upstream{} block, that is, all servers.
>

Can we clarify the behavior for upstreams with duplicate server directives?
Consider the following

upstream foo {
 server 1.2.3.4:80;
 server 5.6.7.8:80;

 keepalive 32;
}

upstream bar {
 server 1.2.3.4:80;
 server 5.6.7.8:80;

 keepalive 32;
}

A max of 64 TCP connections will be kept open?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20170510/3536c7d4/attachment.html>


More information about the nginx mailing list