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 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"

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)

Re: apache threading - 'QueryDict' object has no attribute '_mutable'

2006-03-24 Thread Alex Brown
Ivan Sagalaev wrote: > I think so too... I was investigating Alex's report and it looks like > somewhere onr thread is creating a QueryDict and another tries to access > it while it's being created. It's the only place where it doesn't > contain self._mutable. > > This may mean that mod_python

Re: apache threading - 'QueryDict' object has no attribute '_mutable'

2006-03-23 Thread Alex Brown
Eugene Lazutkin wrote: > Alex Brown wrote: > > Eugene Lazutkin wrote: > > > >> Alex Brown wrote: > >>> I am running django on a Windows server (apache 2.0.54/mod_python > >>> 3.1.3/postgres 8.0.3) > >>> > >>> Django would

Re: apache threading - 'QueryDict' object has no attribute '_mutable'

2006-03-23 Thread Alex Brown
Eugene Lazutkin wrote: > Alex Brown wrote: > > I am running django on a Windows server (apache 2.0.54/mod_python > > 3.1.3/postgres 8.0.3) > > > > Django would crash apache when running multiple automated scripts > > POSTing data at a high rate through a generic

apache threading - 'QueryDict' object has no attribute '_mutable'

2006-03-22 Thread Alex Brown
I am running django on a Windows server (apache 2.0.54/mod_python 3.1.3/postgres 8.0.3) Django would crash apache when running multiple automated scripts POSTing data at a high rate through a generic create_object view. After scanning the net I found various threading fix patches, and I ended