Re: [web2py] Re: Webfaction: Memory usage way over your limit ; again.

2011-11-27 Thread Vasile Ermicioi
but the binary works as it executes web2py and website works but doesn't allow me to login (without showing errors) and my flex app shows the error that I wrote before, and --version shows this error ./uwsgi --version uWSGI 1.0-dev *** glibc detected *** ./uwsgi: free(): invalid pointer: 0x099204e

Re: [web2py] Re: Webfaction: Memory usage way over your limit ; again.

2011-11-27 Thread Roberto De Ioris
> and also uwsgi --version doesn't give the version but tells that there > is an error > This could only be generated by a wrong compiled-binary (maybe a make without a make clean after some config changes). --version triggers only a fprintf() on a fixed binary blob, so if it fails something rea

[web2py] Re: Webfaction: Memory usage way over your limit ; again.

2011-11-26 Thread elffikk
and also uwsgi --version doesn't give the version but tells that there is an error

[web2py] Re: Webfaction: Memory usage way over your limit ; again.

2011-11-26 Thread elffikk
with the latest uwsgi version I cannot login to my website, even no error is generated I use also a flex app with web2py service and it gives an error Traceback (most recent call last): File "/home/yourname/web2py/gluon/restricted.py", line 194, in restricted exec ccode in environment File

Re: [web2py] Re: Webfaction: Memory usage way over your limit ; again.

2011-11-26 Thread Vasile Ermicioi
a question to Roberto I don't see --async parameter in this command uwsgi --http-socket 127.0.0.1:port --pythonpath /user/web2py --module wsgihandler -d /user/uwsgi.log -t 20 -r --no-orphans -M -p 1--touch-reload /user/uwsgireload.txt --evil-reload-on-rss 64 how does it work? does it spawns gree

Re: [web2py] Re: Webfaction: Memory usage way over your limit ; again.

2011-11-26 Thread Vasile Ermicioi
your 2 cents are misguided I said that before - web2py is a great framework - webfaction is a great hosting but have memory constraints !!! *uwsgi *makes it possible to use them together !!! yes, I got memory problems when I installed apache+mod_wsgi, I tried there many servers/modes: nginx+u

Re: [web2py] Re: Webfaction: Memory usage way over your limit ; again.

2011-11-26 Thread Sefa Denizoğlu
I have started with webfaction (as I was going to learn Django, and people suggested them very strongly for Django) a month ago but meanwhile I found out web2py since I was trying to find my own way of programming IN Python. Now I went for VPS of Hetzner (and I'm still fiddling with the basics of a

Re: [web2py] Re: Webfaction: Memory usage way over your limit ; again.

2011-11-26 Thread Roberto De Ioris
> I was migrated to a newer webfaction server and now uwsgi compiles. I > first > tried limiting to 64 MB of memory and 1 process: > > uwsgi --http=127.0.0.1:port --pythonpath /user/web2py --module wsgihandler > -d /user/uwsgi.log -t 20 --async 24 --ugreen --limit-as 64 -r --no-orphans > -M -p 1 -

Re: [web2py] Re: Webfaction: Memory usage way over your limit ; again.

2011-11-26 Thread Vasile Ermicioi
a few advises: - I tested many uwsgi versions, but the most stable one I found to be 0.9.8.6 http://projects.unbit.it/downloads/uwsgi-0.9.8.6.tar.gz - you can set --async 10 without fear, this is the maximum requests handled at the same time - limit your database queries: gae limits database sea

Re: [web2py] Re: Webfaction: Memory usage way over your limit ; again.

2011-11-26 Thread Plumo
I was migrated to a newer webfaction server and now uwsgi compiles. I first tried limiting to 64 MB of memory and 1 process: uwsgi --http=127.0.0.1:port --pythonpath /user/web2py --module wsgihandler -d /user/uwsgi.log -t 20 --async 24 --ugreen --limit-as 64 -r --no-orphans -M -p 1 --touch-relo

Re: [web2py] Re: Webfaction: Memory usage way over your limit ; again.

2011-11-22 Thread Roberto De Ioris
Il giorno 22/nov/2011, alle ore 14:19, Plumo ha scritto: > very useful information - thanks Robert. > > I got compile errors for nginx - tried multiple versions and only 0.9.6.5 > built, which doesn't support --http-socket. > I am on web9 which I understand is one of the older servers: > http:

[web2py] Re: Webfaction: Memory usage way over your limit ; again.

2011-11-22 Thread Plumo
very useful information - thanks Robert. I got compile errors for nginx - tried multiple versions and only 0.9.6.5 built, which doesn't support --http-socket. I am on web9 which I understand is one of the older servers: http://community.webfaction.com/questions/3042/uwsgi-installation Which serv

[web2py] Re: Webfaction: Memory usage way over your limit ; again.

2011-11-16 Thread elffikk
hi Roberto, a few questions about uwsgi 1: - how it is running by default: threaded or async? - does it limits memory usage or I have to use as before --limit-as 80 ? I suppose that I have to pass parameter as it doesn't know the memory limit please tell me what you think about my command uw

[web2py] Re: Webfaction: Memory usage way over your limit ; again.

2011-11-14 Thread Massimo Di Pierro
Thanks Roberto. How about you send me a setup-script to include in the scrips folder? On Nov 14, 3:03 am, "Roberto De Ioris" wrote: > > Again at Webfaction my memory usage is way over my limit: > > > Below is the list of processes that you're running with the memory > > that they use (the command

[web2py] Re: Webfaction: Memory usage way over your limit ; again.

2011-11-13 Thread Web2Py Freak
Dear Annet, I had the same problem as you Remember but there is one thing that was helpful to me , First : i am using now one application for all my websites . second : i prepared the welcome app to be like a router and its working fine in welcome/default.py: def index(): if request.env.http