author | Luke Hoersten <luke@hoersten.org> |
Mon, 25 Oct 2021 15:57:24 -0500 | |
changeset 176 | 2d705e63f6cb |
parent 129 | 7ced28b4207c |
child 195 | da34c8d7511d |
permissions | -rw-r--r-- |
56 | 1 |
[uwsgi] |
2 |
processes = 2 |
|
129
7ced28b4207c
Added worker restats for uwsgi to reduce memory runaway.
Luke Hoersten <luke@hoersten.org>
parents:
56
diff
changeset
|
3 |
max-requests = 10240 |
7ced28b4207c
Added worker restats for uwsgi to reduce memory runaway.
Luke Hoersten <luke@hoersten.org>
parents:
56
diff
changeset
|
4 |
max-requests-delta = 1024 |
7ced28b4207c
Added worker restats for uwsgi to reduce memory runaway.
Luke Hoersten <luke@hoersten.org>
parents:
56
diff
changeset
|
5 |
max-worker-lifetime = 604800 |
56 | 6 |
socket = unix:/run/uwsgi/app/hgweb/socket |
7 |
chdir = {{mercurial_uwsgi_root}} |
|
8 |
wsgi-file = hgweb.wsgi |
|
9 |
uid = www-data |
|
10 |
gid = www-data |
|
11 |
plugins = python3 |