blob: 9779aee9fa0a7542922cbb3af604c2b6f891c766 (
plain)
- [uwsgi]
- single-interpreter = True
- plugins = python
- uid = www-django-app
- #gid = www-data
- #umask = 007
- #chdir = /home/www-django-app/foo
- #module = django.core.handlers.wsgi:WSGIHandler()
- #module = myapp.wsgi:application
- wsgi-file = /home/www-django-app/foo/myapp.wsgi
- master = True
- workers = 8
- cheaper = 4
- threads = 2
- #static-map = /media/=/home/www-sjango-app/foo/static/media/
- #static-map = /robots.txt=/home/www-django-app/foo/static/robots.txt
- #static-map = /favicon.ico=/home/www-django-app/foo/static/favicon.ico
- #memory-report = True
- # set workers/threads, enable memory-report for a little while, consult
- # logfile for sensible threshold for reload-on-rss, and only then enable
- #reload-on-rss = 40
- # merge identical memory pages after every 5th request
- # more info at <http://uwsgi-docs.readthedocs.org/en/latest/KSM.html>
- ksm = 5
|