compared to rocket, and apache+mod_wsgi,
uwsgi uses less memory and is more recommended for production as many use
it either with web2py or django, you can google to find out
is also have much more options to use to make it run at is best for your
case

I use version 0.9.8.6 on webfaction using this command

uwsgi --http 127.0.0.1:port--pythonpath /home/user/web2py --module
wsgihandler -d /home/user/tmp/uwsgi.log -t 20 --async 10 --ugreen
--limit-as 70 -r --no-orphans -M -p 1 --touch-reload
/home/user/tmp/uwsgireload.txt --reload-on-rss 64


-d
makes it run as a daemon

- t 20
request timeout

--limit-as 70
max memory to use is 70Mb

 --touch-reload /home/user/tmp/uwsgireload.txt
executing linux command
touch  /home/user/tmp/uwsgireload.txt
makes server to restart, I find it useful when testing routes.py

Reply via email to