Updated default connection limit.

This commit is contained in:
Jeff Geerling 2014-05-02 22:24:54 -05:00
parent 222479109f
commit 299b70fc1e
2 changed files with 2 additions and 2 deletions

View File

@ -17,7 +17,7 @@ Available variables are listed below, along with default values (see `vars/main.
The user under which Nginx will run.
nginx_worker_processes: "1"
nginx_worker_connections: "1024"
nginx_worker_connections: "8192"
`nginx_worker_processes` should be set to the number of cores present on your machine. Connections (find this number with `grep processor /proc/cpuinfo | wc -l`). `nginx_worker_connections` is the number of connections per process. Set this higher to handle more simultaneous connections (and remember that a connection will be used for as long as the keepalive timeout duration for every client!).

View File

@ -1,6 +1,6 @@
---
nginx_user: "nginx"
nginx_worker_processes: "1"
nginx_worker_connections: "1024"
nginx_worker_connections: "8192"
nginx_client_max_body_size: "64m"
nginx_keepalive_timeout: "65"