# django.ini file [uwsgi] # maximum number of processes processes = 4 max-requests = 5000 enable-threads = true # the socket (use the full path to be safe) uid = http gid = http socket = /tmp/uwsgi.sock chmod-socket = 664 chown-socket = www-data:www-data # the base directory chdir = /home/lxf/sites/django # django's wsgi file module = config.wsgi # the virtualenv home = /home/lxf/sites/django/venv buffer-size =65535 #plugin=python limit-as = 1024 limit-post = 0 # clear environment on exit vacuum = true logto = /var/log/uwsgi/django.log