fargo/debian/uwsgi.ini

50 lines
906 B
INI

[uwsgi]
auto-procname = true
procname-prefix-spaced = fargo
strict = true
plugin = python3
single-interpreter = true
module = fargo.wsgi:application
need-app = true
http-socket = /run/fargo/fargo.sock
chmod-socket = 666
vacuum = true
spooler-processes = 3
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/fargo/py-tracebacker.sock.
stats = /run/fargo/stats.sock
memory-report = true
ignore-sigpipe = true
if-file = /etc/fargo/uwsgi-local.ini
include = /etc/fargo/uwsgi-local.ini
endif =