X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/ce3c4f895c3de3ca6974b9ffeef8e78a3c29c521..01ca27ba0a1ef84c53e223004249505435a788b6:/tools/salt-install/config_examples/multi_host/aws/pillars/nginx_passenger.sls diff --git a/tools/salt-install/config_examples/multi_host/aws/pillars/nginx_passenger.sls b/tools/salt-install/config_examples/multi_host/aws/pillars/nginx_passenger.sls index 0655a0db1f..0c9ef1c36e 100644 --- a/tools/salt-install/config_examples/multi_host/aws/pillars/nginx_passenger.sls +++ b/tools/salt-install/config_examples/multi_host/aws/pillars/nginx_passenger.sls @@ -55,9 +55,10 @@ nginx: # controller, then potentially 1 from controller back to # passenger). Each connection consumes a file descriptor. # That's how we get these calculations - worker_rlimit_nofile: {{ max_reqs * 3 + 1 + max_tunnels }} + # (we're multiplying by 5 instead to be on the safe side) + worker_rlimit_nofile: {{ (max_reqs + max_tunnels) * 5 + 1 }} events: - worker_connections: {{ max_reqs * 3 + 1 + max_tunnels }} + worker_connections: {{ (max_reqs + max_tunnels) * 5 + 1 }} ### SITES servers: