> Hi,
>
> I'm trying to setup web2py to use uWSGI using the instructions from
> https://groups.google.com/d/msg/web2py/DOKMzOsppFk/91BZtU2cCQkJ
>
> The only difference being - I used "pip install uwsgi" rather than compile
> it, as mentioned in the above link.
> uWSGI version that got installed is 1.9.10
> web2py version is "Version 2.4.6-stable+timestamp.2013.04.06.17.37.38"
>
> Here are the problems :
>
> First I tried the command as follows : (Same as mentioned in the link
> above)
>
> uwsgi --http 127.0.0.1:PORTNUM --pythonpath
> /home/username/webapps/myapp/web2py
> --module wsgihandler -d /home/username/tmp/uwsgi.log -t 20 --async 16
> --ugreen
> --limit-as 64 -r --no-orphans -M -p 1 --touch-reload /home/username/tmp/
> uwsgireload.txt --reload-on-rss 50
>
>

You get memory errors, just remove limits (64 MB address space are not
enough for sure).

Even async and ugreen are useless for web2py.

Generally if you care memory, you'd better to let your app runs for a
couple of days so you have enough metrics to choose a good limit value.



-- 
Roberto De Ioris
http://unbit.it

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to