From d767ebdbd4a8f10e0c54969457fa5aa61d6bb523 Mon Sep 17 00:00:00 2001 From: Pekko Sams Date: Fri, 9 Aug 2024 09:25:35 +0300 Subject: [PATCH] increased nginx worker connections & uwsgi processes --- docker/services/nginx/nginx.conf | 2 +- docker/services/uwsgi/uwsgi.d/60_processes.ini | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docker/services/nginx/nginx.conf b/docker/services/nginx/nginx.conf index e109bf395..8e9d20449 100644 --- a/docker/services/nginx/nginx.conf +++ b/docker/services/nginx/nginx.conf @@ -5,7 +5,7 @@ include /etc/nginx/modules-enabled/*.conf; daemon off; events { - worker_connections 768; + worker_connections 4096; # multi_accept on; } diff --git a/docker/services/uwsgi/uwsgi.d/60_processes.ini b/docker/services/uwsgi/uwsgi.d/60_processes.ini index 697dfc343..15a428929 100644 --- a/docker/services/uwsgi/uwsgi.d/60_processes.ini +++ b/docker/services/uwsgi/uwsgi.d/60_processes.ini @@ -1,4 +1,4 @@ [uwsgi] # Default number of processes and threads for the app -processes = 3 +processes = 6 threads = 2