You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
748 B
31 lines
748 B
[uwsgi]
|
|
chdir = %(project_path)s/
|
|
env = DJANGO_SETTINGS_MODULE=lms.settings
|
|
virtualenv = %(project_path)s/env
|
|
module = lms.wsgi:application
|
|
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
|
|
vacuum = true
|
|
plugins = python35
|
|
|
|
gid=www-data
|
|
uid=www-data
|
|
|