[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/03: nginx: berlin: Reduce the number of workers.
From: |
Ludovic Courtès |
Subject: |
01/03: nginx: berlin: Reduce the number of workers. |
Date: |
Sat, 17 Feb 2018 19:26:04 -0500 (EST) |
civodul pushed a commit to branch master
in repository maintenance.
commit cc638c8e6c8e9f17f8c1f7417be405c7761ef5c0
Author: Ludovic Courtès <address@hidden>
Date: Sat Feb 10 00:40:49 2018 +0100
nginx: berlin: Reduce the number of workers.
* hydra/nginx/berlin.conf: Set 'worker_processes' to 32.
---
hydra/nginx/berlin.conf | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/hydra/nginx/berlin.conf b/hydra/nginx/berlin.conf
index 8968933..d15879c 100644
--- a/hydra/nginx/berlin.conf
+++ b/hydra/nginx/berlin.conf
@@ -1,7 +1,9 @@
# This is the nginx config file for berlin.guixsd.conf.
user nginx;
-worker_processes auto;
+
+# This is a 72-core machine, but let's not use all of them for nginx.
+worker_processes 32;
error_log /var/log/nginx/error.log error;
pid /var/run/nginx.pid;