From 739216f853c53af60296d67cdb598d3514d10074 Mon Sep 17 00:00:00 2001 From: Daniel Winzen <daniel@danwin1210.me> Date: Thu, 16 Jan 2020 06:22:35 +0100 Subject: [PATCH] Tweaked nginx ressource limits --- etc/nginx/nginx.conf | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/etc/nginx/nginx.conf b/etc/nginx/nginx.conf index edbfb4e..29333b3 100644 --- a/etc/nginx/nginx.conf +++ b/etc/nginx/nginx.conf @@ -1,17 +1,17 @@ daemon on; user www-data; -worker_processes auto; +worker_processes 1; pid /run/nginx.pid; pcre_jit on; -worker_rlimit_nofile 30000; +worker_rlimit_nofile 100000; +worker_shutdown_timeout 30m; events { - worker_connections 20000; + worker_connections 100000; multi_accept on; } http { - ## # Basic Settings ##