> http://projects.unbit.it/uwsgi/ > <http://projects.unbit.it/uwsgi/>http://projects.unbit.it/uwsgi/wiki/Doc > > I use uwsgi without any other server and works fine so far > you can limit memory usage > > setup instructions: > you need to create a custom application > > wget http://projects.unbit.it/downloads/uwsgi-0.9.7.2.tar.gz > tar xvzf uwsgi-0.9.7.2.tar.gz > cd uwsgi-0.9.7.2 > make -f Makefile.Py27 > mv uwsgi /home/yourusername/bin > > uwsgi --http 127.0.0.1:your_custom_app_port --pythonpath > /home/yourusername/web2py --module wsgihandler -d > /home/yourusername/tmp/uwsgi.log -t 20 --async 51 --ugreen --limit-as 64 > -r > --no-orphans > > > remark --limit-as 64 >
In 0.9.8 you can setup uwsgi to natively speaks http (so you will use less memory and you will get better performance as you do not need an additional proxy level): uwsgi --protocol=http --socket 127.0.0.1:your_custom_app_port --pythonpath /home/yourusername/web2py --module wsgihandler -d /home/yourusername/tmp/uwsgi.log -t 20 --async 51 --ugreen --limit-as 64 -r --no-orphans If i remember correctly, webfaction supports fastcgi too. 0.9.8 even talks fastcgi so you can set --protocol=fastcgi to gain a little more performance -- Roberto De Ioris http://unbit.it

