Explorar el Código

Updated default connection limit.

Jeff Geerling hace 11 años
padre
commit
299b70fc1e
Se han modificado 2 ficheros con 2 adiciones y 2 borrados
  1. 1 1
      README.md
  2. 1 1
      vars/main.yml

+ 1 - 1
README.md

@@ -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!).
 

+ 1 - 1
vars/main.yml

@@ -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"