From dda0733f6aef0184beddd1637e8b8760c239f93a Mon Sep 17 00:00:00 2001 From: Thomas Way Date: Tue, 9 Apr 2024 13:00:12 +0100 Subject: [PATCH] fix(nginx): use 1 worker process The value 'auto' will create a worker process for each CPU thread, which can be problematic in containerised environments with CPU limits. A single NGINX worker process should be more than sufficient. Fixes: #10898 --- docker/main/rootfs/usr/local/nginx/conf/nginx.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/main/rootfs/usr/local/nginx/conf/nginx.conf b/docker/main/rootfs/usr/local/nginx/conf/nginx.conf index 9f4687fa0..f100efafd 100644 --- a/docker/main/rootfs/usr/local/nginx/conf/nginx.conf +++ b/docker/main/rootfs/usr/local/nginx/conf/nginx.conf @@ -1,6 +1,6 @@ daemon off; user root; -worker_processes auto; +worker_processes 1; error_log /dev/stdout warn; pid /var/run/nginx.pid;