From 34a87bcf8c1c8729864f6a01dfc0861e5551b6a1 Mon Sep 17 00:00:00 2001 From: Guillaume Pellerin Date: Wed, 30 Jun 2021 00:07:22 +0200 Subject: [PATCH] increase uwsgi values --- app/wsgi.ini | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/wsgi.ini b/app/wsgi.ini index 46cdf39a..b839cc19 100644 --- a/app/wsgi.ini +++ b/app/wsgi.ini @@ -30,15 +30,15 @@ reload-on-rss = 2048 ; Restart workers after this much resident worker-reload-mercy = 60 ; How long to wait before forcefully killing workers cheaper-algo = busyness -processes = 128 ; Maximum number of workers allowed -cheaper = 24 ; Minimum number of workers allowed -cheaper-initial = 64 ; Workers created at startup +processes = 256 ; Maximum number of workers allowed +cheaper = 8 ; Minimum number of workers allowed +cheaper-initial = 16 ; Workers created at startup cheaper-overload = 1 ; Length of a cycle in seconds cheaper-step = 16 ; 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) -cheaper-busyness-max = 70 ; Above this threshold, spawn new workers +cheaper-busyness-max = 90 ; Above this threshold, spawn new workers cheaper-busyness-backlog-alert = 16 ; Spawn emergency workers if more than this many requests are waiting in the queue cheaper-busyness-backlog-step = 2 ; How many emergency workers to create if there are too many requests in the queue -- 2.39.5