# pai2_uwsgi.ini file
[uwsgi]
# Django-related settings
# the base directory (full path)
chdir = /home/paiai/work/pai2
# Django's wsgi file
module = pai2.wsgi
# the virtualenv (full path)
# home = /path/to/virtualenv
# process-related settings
# master
master = true
# maximum number of worker processes
processes = 10
# the socket (use the full path to be safe
socket = /home/paiai/work/pai2/pai2/uwsgi/pai2.sock
# ... with appropriate permissions - may be needed
chmod-socket = 777
# clear environment on exit
vacuum = true
# 11: Resource temporarily unavailable
# Exec sysctl.sh first
reload-mercy = 64
max-requests = 8192
listen = 4096
|