]> git.parisson.com Git - teleforma.git/commitdiff
increase uwsgi values
authorGuillaume Pellerin <guillaume.pellerin@parisson.com>
Tue, 29 Jun 2021 22:07:22 +0000 (00:07 +0200)
committerGuillaume Pellerin <guillaume.pellerin@parisson.com>
Tue, 29 Jun 2021 22:07:22 +0000 (00:07 +0200)
app/wsgi.ini

index 46cdf39a199f3c9d8b17fcfb1b1a4cf6ad6c7df7..b839cc19654940a46a4b5e7efe6d6167a3593ea1 100644 (file)
@@ -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 =                          ; 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