|
|
|
@ -3,10 +3,26 @@ chdir = %(project_path)s/ |
|
|
|
env = DJANGO_SETTINGS_MODULE=lms.settings |
|
|
|
env = DJANGO_SETTINGS_MODULE=lms.settings |
|
|
|
virtualenv = %(project_path)s/env |
|
|
|
virtualenv = %(project_path)s/env |
|
|
|
module = lms.wsgi:application |
|
|
|
module = lms.wsgi:application |
|
|
|
master = true |
|
|
|
|
|
|
|
processes = 4 |
|
|
|
|
|
|
|
workers = 6 |
|
|
|
|
|
|
|
socket = %(project_path)s/app.sock |
|
|
|
socket = %(project_path)s/app.sock |
|
|
|
|
|
|
|
logto = /var/log/uwsgi/skillbox.uwsgi.log |
|
|
|
|
|
|
|
master = true |
|
|
|
|
|
|
|
#processes = 8 |
|
|
|
|
|
|
|
workers = 24 |
|
|
|
|
|
|
|
# TODO configure memory lims and cheaper limits |
|
|
|
|
|
|
|
harakiri = 220s |
|
|
|
|
|
|
|
# disable request logging HTTP/200 |
|
|
|
|
|
|
|
disable-logging = true |
|
|
|
|
|
|
|
log-slow = 45s |
|
|
|
|
|
|
|
log-5xx = true |
|
|
|
|
|
|
|
log-4xx = true |
|
|
|
|
|
|
|
log-big = 500000 |
|
|
|
|
|
|
|
stats = :5050 |
|
|
|
|
|
|
|
harakiri-verbose = true |
|
|
|
|
|
|
|
enable-threads = true |
|
|
|
|
|
|
|
thunder-lock = true |
|
|
|
|
|
|
|
reload-mercy = 220s |
|
|
|
|
|
|
|
worker-reload-mercy = 220s |
|
|
|
|
|
|
|
mule-reload-mercy = 220s |
|
|
|
chmod-socket = 666 |
|
|
|
chmod-socket = 666 |
|
|
|
vacuum = true |
|
|
|
vacuum = true |
|
|
|
plugins = python35 |
|
|
|
plugins = python35 |
|
|
|
|