authentic/debian/authentic2-multitenant-uwsg...

47 lines
994 B
INI

[uwsgi]
auto-procname = true
procname-prefix-spaced = authentic2-multitenant
strict = true
plugin = python3
single-interpreter = true
module = authentic2.wsgi:application
need-app = true
http-socket = /run/authentic2-multitenant/authentic2-multitenant.sock
chmod-socket = 666
vacuum = true
master = true
enable-threads = true
harakiri = 120
processes = 500
plugin = cheaper_busyness
cheaper-algo = busyness
cheaper = 5
cheaper-initial = 10
cheaper-overload = 5
cheaper-step = 10
cheaper-busyness-multiplier = 30
cheaper-busyness-min = 20
cheaper-busyness-max = 70
cheaper-busyness-backlog-alert = 16
cheaper-busyness-backlog-step = 2
max-requests = 500
max-worker-lifetime = 7200
buffer-size = 32768
py-tracebacker = /run/authentic2-multitenant/py-tracebacker.sock.
stats = /run/authentic2-multitenant/stats.sock
ignore-sigpipe = true
disable-write-exception = true
if-file = /etc/authentic2-multitenant/uwsgi-local.ini
include = /etc/authentic2-multitenant/uwsgi-local.ini
endif =