50 lines
982 B
INI
50 lines
982 B
INI
[uwsgi]
|
|
auto-procname = true
|
|
procname-prefix-spaced = authentic2
|
|
strict = true
|
|
|
|
plugin = python3
|
|
single-interpreter = true
|
|
module = authentic2.wsgi:application
|
|
need-app = true
|
|
|
|
http-socket = /run/authentic2/authentic2.sock
|
|
chmod-socket = 666
|
|
vacuum = true
|
|
|
|
spooler-processes = 3
|
|
spooler-python-import = authentic2.utils.spooler
|
|
|
|
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/py-tracebacker.sock.
|
|
stats = /run/authentic2/stats.sock
|
|
|
|
ignore-sigpipe = true
|
|
disable-write-exception = true
|
|
|
|
if-file = /etc/authentic2/uwsgi-local.ini
|
|
include = /etc/authentic2/uwsgi-local.ini
|
|
endif =
|