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 BEAUTIFY but the problem is no longer as severe as
before but I do see one process (the multi-threaded one) consume more
memory than everything else.

Massimo

On Feb 18, 4:11 pm, Graham Dumpleton <graham.dumple...@gmail.com>
wrote:
> On Feb 19, 6:40 am, mdipierro <mdipie...@cs.depaul.edu> 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  6312  0.0  0.0 130296   128 ?        S    16:53   0:00 /usr/
> > sbin/apache2 -k start
> > www-data  6320 23.7 57.5 695308 151028 ?       Sl   16:54   0:21 /usr/
> > sbin/apache2 -k start
> > www-data  6663  0.0  0.2 130296   756 ?        S    16:55   0:00 /usr/
> > sbin/apache2 -k start
> > www-data  6665  0.0  0.2 130296   664 ?        S    16:55   0:00 /usr/
> > sbin/apache2 -k start
> > www-data  6666  0.0  0.2 130296   672 ?        S    16:55   0:00 /usr/
> > sbin/apache2 -k start
> > 1000      7070  0.0  0.3   5164   828 pts/0    R+   16:55   0:00 grep
> > apache
> > root     13264  0.0  0.0 130160   156 ?        Ss   15:50   0:00 /usr/
> > sbin/apache2 -k start
>
> > Look at process 6320. It is using way more memory than any other one.
> > Eventually it will fill the ram. Seems like a memory leak. Only one
> > process does it. I will it and another process takes his place.
> > What is going on?
>
> > I have never seen this problem before. Looks like a memory leak and
> > seems related to this:
>
> >http://www.paulstimesink.com/post/2005/05/21/memory-leak-in-apache/
>
> Likely unrelated because for you it is affecting only one process.
>
> > For now I am following their suggestions and we'll see.
>
> Presuming you are now running mod_wsgi, post your Apache configuration
> snippet for how you set mod_wsgi up.
>
> Specifically, confirm that you are using daemon mode? Also indicate
> which version of mod_wsgi you are using.
>
> If you have an incremental memory growth problem because of web2py,
> there are various things one can do in mod_wsgi daemon mode
> configuration to combat the issue until you work out the real cause.
>
> So long as you are using daemon mode, that you are using prefork MPM
> is not a big deal.
>
> Graham
>
> > Massimo
>
> > On Feb 18, 12:22 pm, Geo <ssscript...@gmail.com> wrote:
>
> > > Hi guys!
>
> > > I've been trying to access the web2py website for the last couple of
> > > days, with very little success. Most of the time I get a "The
> > > connection was reset" message, and if somehow I get a connection, the
> > > navigation is very slow.
>
> > > Is there some problem on the server side?

-- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to web...@googlegroups.com.
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en.

Reply via email to