From 9388ee3a3c5a96578e92b76c603d77dce240025c Mon Sep 17 00:00:00 2001 From: Guillaume Pellerin Date: Thu, 16 Nov 2023 04:48:12 +0100 Subject: [PATCH] reduce processes --- app/wsgi.ini | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/wsgi.ini b/app/wsgi.ini index 374f1694..3f524c67 100644 --- a/app/wsgi.ini +++ b/app/wsgi.ini @@ -42,12 +42,12 @@ forkbomb-delay = 0 thunder-lock = true cheaper-algo = busyness -processes = 128 ; Maximum number of workers allowed +processes = 16 ; Maximum number of workers allowed #threads = 2 -cheaper = 24 ; Minimum number of workers allowed -cheaper-initial = 24 ; Workers created at startup +cheaper = 4 ; Minimum number of workers allowed +cheaper-initial = 4 ; Workers created at startup cheaper-overload = 1 ; Length of a cycle in seconds -cheaper-step = 8 ; How many workers to spawn at a time +cheaper-step = 2 ; How many workers to spawn at a time cheaper-busyness-multiplier = 30 ; How many cycles to wait before killing workers cheaper-busyness-min = 20 ; Below this threshold, kill workers (if stable for multiplier cycles) -- 2.39.5