lingo/debian/uwsgi.ini

52 lines
1011 B
INI

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