I have seen this before with ubuntu 8.04. There is a memory leak. I do not think it is in web2py but could not get to the bottom if it. The trick consists in limiting the number of requests served by the same process so that apache starts a new process more often.
On Apr 30, 7:36 pm, Adolfo <avizca...@gmail.com> wrote: > Hello > > I've been working for months in an application, i never had any > problems working as localhost. When i finished the app i decided to > run it in an Ubuntu 8.04 server with 2Gb of RAM. I used apache mod > proxy for accessing the app from the network. > > I'm using postgress I haven't had any problems doing my tests until > today when suddenly my app start to get slower suddenly I received a > proxy error - the app is not ready or something like that - so i > decided to look at my top to find out that i was using only 1.1% of > CPU but python 2.5 was using 96% of the RAM. > > I really don't know were to start looking to solve the problem and > don't know if the problem has something to do with web2py or python. > > I tried rebooting the server but after some time it starts to consume > a lot of memory again. There's only one user for now > > Thanks in advance, > > Adolfo