Were there any special considerations for webpy? Tia ::Sent from my Verizon HTC incredible gOS::
On Sep 5, 2010 11:41 AM, "Oskar" <[email protected]> wrote: > Thanks everyone! > > Got it under control by doing what Graham suggested. > > On Aug 30, 2:55 pm, Graham Dumpleton <[email protected]> > wrote: >> On Aug 30, 9:39 pm, Oskar <[email protected]> wrote: >> >> > Hey! >> >> > Our site that uses webpy running on apache increases its memory usage >> > over time, about 1 or 2 GB per few weeks, until we restart. We don't >> > have a lot of traffic, about 30 unique people visit the site in that >> > time, probably a few times each. The developers (4 people) visit the >> > site a lot of times each day. >> >> > Our sysadmin said that it is apache that uses the memory. But we don't >> > know why it happens. Do anyone has any idea what could be the matter? >> >> If you are loading mod_python into Apache, even if not using it and >> using mod_wsgi instead, it leaks memory on Apache restarts. So get rid >> of mod_python. If using mod_wsgi ensure you are using mod_wsgi 3.0. >> >> For mod_wsgi the problem isn't actually mod_wsgi's fault, but that >> Python interpreter itself doesn't release memory when destroyed. See: >> >> http://blog.dscpl.com.au/2009/11/save-on-memory-with-modwsgi-30.html >> >> Anyway, as you don't say anything about what you are using to host >> application, that is all a big guess. The problem also simply could be >> because your application itself is holding onto objects and causing >> the problem. >> >> Graham > > -- > You received this message because you are subscribed to the Google Groups "web.py" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to [email protected] <webpy%[email protected]>. > For more options, visit this group at http://groups.google.com/group/webpy?hl=en. > -- You received this message because you are subscribed to the Google Groups "web.py" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/webpy?hl=en.
