Re: Trying to Understand Upstream Keepalive

2016-06-14 Thread aanchalj
As stated in http://nginx.org/en/docs/http/ngx_http_upstream_module.html#keepalive that "It should be particularly noted that the keepalive directive does not limit the total number of connections to upstream servers that an nginx worker process can open. The connections parameter should be set to

Re: worker_connections are not enough

2016-06-14 Thread aanchalj
So in this case the worker_connections should be set to at least (2 + 4 + 4) = 10. But what should be the optimal value for this? What are the implications of using a high number of worker connections in this case? Posted at Nginx Forum: https://forum.nginx.org/read.php?2,226691,267552#msg-26755