Re: Memory leak (db connection related?) with apache/postgres and magic-removal

2006-04-11 Thread Alex Brown
Seems I was wrong about the leak not being present on OSX. After further testing on OSX I have found that the behaviour is in fact the same as on Windows, and I can see the memory leak. I think I was fooled by how slow django seems to run on OSX compared with Windows. 1000 posts to a generic

Re: Memory leak (db connection related?) with apache/postgres and magic-removal

2006-04-10 Thread Adrian Holovaty
On 4/10/06, Alex Brown <[EMAIL PROTECTED]> wrote: > As a follow up to this report. I tested this program on a django > install running on Mac OSX with the same versions of everything. No > memory leaks visible. So it seems to be a Windows only issue. Although > I did notice that when I built

Re: Memory leak (db connection related?) with apache/postgres and magic-removal

2006-04-10 Thread Alex Brown
As a follow up to this report. I tested this program on a django install running on Mac OSX with the same versions of everything. No memory leaks visible. So it seems to be a Windows only issue. Although I did notice that when I built apache for OSX it uses a different threading configuration

Re: Memory leak (db connection related?) with apache/postgres and magic-removal

2006-03-26 Thread Alex Brown
Adrian, Debug is disabled (should have mentioned this) I saw this reported and was the first thing I tried. model sent in email. Regards Alex --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users"

Re: Memory leak (db connection related?) with apache/postgres and magic-removal

2006-03-26 Thread Adrian Holovaty
On 3/26/06, Alex Brown <[EMAIL PROTECTED]> wrote: > I have a test script that repeatedly POSTs to a generic_view > create_object form. > > The problem, is that apache's memory usage just goes up and up, and > never releases. Hi Alex, Make sure your DEBUG setting isn't set to True. If it's set

Re: Memory leak (db connection related?) with apache/postgres and magic-removal

2006-03-26 Thread Ivan Sagalaev
Alex Brown wrote: >I have a test script that repeatedly POSTs to a generic_view >create_object form. > >The problem, is that apache's memory usage just goes up and up, and >never releases. > > It's a feature :-) With DEBUG = True Django logs all executed SQL statements in db.queries. This is

Memory leak (db connection related?) with apache/postgres and magic-removal

2006-03-26 Thread Alex Brown
Hi, I am running django on Windows/apache/mod_python/postgres. I am using the latest magic-removal branch with the following patches: (1) http://code.djangoproject.com/attachment/ticket/1539/magic.querydict.patch - Solves a multithreading issue with the QueryDict class (2)