2022-01-06 19:54:22 +08:00
|
|
|
[uwsgi]
|
|
|
|
master = true
|
2022-05-28 14:54:02 +08:00
|
|
|
processes = 5
|
2022-01-06 19:54:22 +08:00
|
|
|
chdir = /app/MrDoc
|
|
|
|
wsgi-file= /app/MrDoc/MrDoc/wsgi.py
|
|
|
|
http = 0.0.0.0:10086
|
2022-04-27 07:43:47 +08:00
|
|
|
logto = /app/MrDoc/log/uwsgi_log.log
|
2022-01-06 19:54:22 +08:00
|
|
|
chmod-socket = 660
|
|
|
|
vacuum = true
|
|
|
|
master = true
|
2022-07-04 11:45:47 +08:00
|
|
|
enable-threads = true
|
2022-04-27 07:43:47 +08:00
|
|
|
max-requests = 1000
|
2022-07-04 11:45:47 +08:00
|
|
|
reload-on-as = 2048
|
|
|
|
reload-on-rss = 2048
|
2022-07-05 21:15:43 +08:00
|
|
|
evil-reload-on-as = 2048
|
|
|
|
evil-reload-on-rss = 2048
|
2022-04-27 07:43:47 +08:00
|
|
|
buffer-size = 65536
|
|
|
|
http-timeout = 300
|
2022-05-28 14:54:02 +08:00
|
|
|
socket-timeout = 300
|
|
|
|
reload-mercy = 1
|
|
|
|
worker-reload-mercy = 1
|