[web2py] Re: website not working

2010-02-18 Thread Graham Dumpleton
On Feb 19, 12:44 pm, mdipierro wrote: > I did as you suggest, moved apache2-mpm-worker and run a cronjob that > will restart processes that take more 50% CPU. > Now it seems to be snappy, steady memory use and it is using less then > 1/2 of the memory I have (256MB). As a fail safe for a runawa

[web2py] Re: website not working

2010-02-18 Thread mdipierro
I did as you suggest, moved apache2-mpm-worker and run a cronjob that will restart processes that take more 50% CPU. Now it seems to be snappy, steady memory use and it is using less then 1/2 of the memory I have (256MB). Thank you again. Massimo On Feb 18, 6:56 pm, Graham Dumpleton wrote: > On

[web2py] Re: website not working

2010-02-18 Thread Graham Dumpleton
On Feb 19, 11:39 am, mdipierro wrote: > You are right. I had > > Apache/2.2.8 (Ubuntu) mod_ssl/2.2.8 OpenSSL/0.9.8g mod_wsgi/1.3 Python/ > 2.5.2 configured > > Now I upgraded: > > Apache/2.2.8 (Ubuntu) mod_wsgi/4.0-TRUNK Python/2.5.2 mod_ssl/2.2.8 > OpenSSL/0.9.8g configured You probably want t

[web2py] Re: website not working

2010-02-18 Thread mdipierro
You are right. I had Apache/2.2.8 (Ubuntu) mod_ssl/2.2.8 OpenSSL/0.9.8g mod_wsgi/1.3 Python/ 2.5.2 configured Now I upgraded: Apache/2.2.8 (Ubuntu) mod_wsgi/4.0-TRUNK Python/2.5.2 mod_ssl/2.2.8 OpenSSL/0.9.8g configured and now I see that the process using most of the ram is www-data 30743 1.

[web2py] Re: website not working

2010-02-18 Thread Graham Dumpleton
On Feb 19, 10:36 am, mdipierro wrote: > My setup is exactly the one generated by this file > > http://code.google.com/p/web2py/source/browse/scripts/setup-web2py-ub... > > I did apt-get install mod-mpm-prefork > > I do not know which mod_wsgi I have. How how I check? Id just did apt- > get insta

[web2py] Re: website not working

2010-02-18 Thread mdipierro
My setup is exactly the one generated by this file http://code.google.com/p/web2py/source/browse/scripts/setup-web2py-ubuntu.sh I did apt-get install mod-mpm-prefork I do not know which mod_wsgi I have. How how I check? Id just did apt- get install mod_wsgi on ubuntu 8.04. Now that fixed the BE

[web2py] Re: website not working

2010-02-18 Thread Graham Dumpleton
On Feb 19, 6:40 am, mdipierro wrote: > Yes. > > I am running apache2 and I see this: > > www-data  6215  0.0  0.0 130400   164 ?        S    16:52   0:00 /usr/ > sbin/apache2 -k start > www-data  6250  0.0  0.2 130296   608 ?        S    16:52   0:00 /usr/ > sbin/apache2 -k start > www-data  631

[web2py] Re: website not working

2010-02-18 Thread Geo
I'm not very knowledgeable about apache ... so I don't know how to help on that topic. But, what do you think about a script which will monitor the processes's ram consumption and kill them once they go past a certain limit ( say 150mb ) ? -- You received this message because you are subscribed t

[web2py] Re: website not working

2010-02-18 Thread Kevin Bowling
What OS? I'm running the old trusty prefork MPM with mod_php+mod_wsgi without trouble on a 512MB Linode Gentoo VPS and my site is getting beat up by ycombinator at the moment. Please post MPM httpd.conf data as well. Kevin On Feb 18, 12:40 pm, mdipierro wrote: > Yes. > > I am running apache2 a

[web2py] Re: website not working

2010-02-18 Thread mdipierro
Yes. I am running apache2 and I see this: www-data 6215 0.0 0.0 130400 164 ?S16:52 0:00 /usr/ sbin/apache2 -k start www-data 6250 0.0 0.2 130296 608 ?S16:52 0:00 /usr/ sbin/apache2 -k start www-data 6312 0.0 0.0 130296 128 ?S16:53 0:00 /usr