hi,

I just noticed that webfaction increased memory from 80 to 256Mb
important to notice that this is application memory
"This is the actual memory available to your long-running processes
(for instance, your Rails or Django processes). Unlike on a VPS, the
memory used by the operating system, the main web server and the
database servers doesn't count towards your memory usage"

and Roberto have made optimizations to uwsgi to run on low resources
hostings,
so it is a great time to use web2py with uwsgi and webfaction

so now uwsgi command to run web2py on webfaction will be

uwsgi --http 127.0.0.1:yourport --pythonpath /home/youruser/web2py --
module wsgihandler -d /home/youruser/tmp/uwsgi.log -t 20 --async 10 --
ugreen --limit-as 100 -r --no-orphans -M -p 2 --touch-reload /home/
youruser/tmp/uwsgireload.txt --reload-on-rss 100

short: 2 uwsgi workers(processes) each limited to 100Mb
uwsgi version 0.9.8.6


if you are new you could use my affiliate link (hope you will not
judge me for that :) )
http://www.webfaction.com/services/hosting?affiliate=fermer

Reply via email to