[uwsgi]
single-interpreter = True
plugins = python

master = True
workers = 1
threads = 10
vacuum = True
max-requests = 1000

uid = www-moin
umask = 007

wsgi-file = /usr/local/etc/moin/moin.wsgi

static-map = /moin_static194/=/usr/share/moin/htdocs/
static-map = /moin_static194/applets/FCKeditor/=/usr/share/fckeditor/
static-map = /favicon.ico=/usr/share/moin/htdocs/favicon.ico
static-map = /robots.txt=/usr/share/moin/htdocs/robots.txt

#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 10th request
# more info at <http://uwsgi-docs.readthedocs.org/en/latest/KSM.html>
ksm = 10

# trick found at http://wiki.nginx.org/MoinMoin
include uwsgi_params
uwsgi_param SCRIPT_NAME /;
uwsgi_modifier1 30;
ignore-script-name = true