Using _default_manager in a model causes many idle MySQL connections. (Django 1.0)

2009-03-19 Thread MikeL
I'm using the code from: http://www.eflorenzano.com/blog/post/easy-multi-database-support-django/ After repeated use, there can be over a hundred idling connection to MySQL for both production and development builds. Removing the Multiple DB in the model causes the symptoms to stop. I've been t

Re: Using _default_manager in a model causes many idle MySQL connections. (Django 1.0)

2009-03-19 Thread Alex Gaynor
On Thu, Mar 19, 2009 at 5:06 PM, MikeL wrote: > > I'm using the code from: > > http://www.eflorenzano.com/blog/post/easy-multi-database-support-django/ > > After repeated use, there can be over a hundred idling connection to > MySQL for both production and development builds. Removing the > Multi

Re: Using _default_manager in a model causes many idle MySQL connections. (Django 1.0)

2009-03-19 Thread MikeL
I wasn't sure where this stuff was being tracked, but I did find a circular reference in the database wrapper. The DatabaseCreation and DatabaseIntrospection objects being created in the MySQL wrapper where passing references of itself, but there wasn't a per-defined method for removing those refe

Re: Using _default_manager in a model causes many idle MySQL connections. (Django 1.0)

2009-03-31 Thread J
Hello Michael, Would you share your temp patch here? TIA, J On Mar 20, 12:52 am, MikeL wrote: > I wasn't sure where this stuff was being tracked, but I did find a > circular reference in the database wrapper. The DatabaseCreation and > DatabaseIntrospection objects being created in the MySQL

Re: Using _default_manager in a model causes many idle MySQL connections. (Django 1.0)

2009-04-01 Thread Guillaume Carbonneau
I too am interested in seeing this patch. I'm getting lots of idle connections in postgres On Mar 31, 5:26 am, J wrote: > Hello Michael, > > Would you share your temp patch here? > > TIA, > > J > > On Mar 20, 12:52 am, MikeL wrote: > > > I wasn't sure where this stuff was being tracked, but I d