Seems to be caused by Django not sending the "request_finished" signal, which is also bizarre, unexpected behaviour.
On Wednesday, April 10, 2013 11:47:52 AM UTC-7, Lewis Sobotkiewicz wrote: > > Thanks, but I'm not using the Django development version. Apparently > persistent DB conns will be a feature of Django 1.6, but not 1.5.1. > > I'm using RDS with MySQL 5.5.27. The only thing I've changed about the > infrastructure is upgrading Django to 1.5.1. If I downgrade to 1.4.5, DB > connections are released after the request, as expected. > > On Wednesday, April 10, 2013 2:24:05 AM UTC-7, Andrey Kostakov wrote: >> >> >> https://docs.djangoproject.com/en/dev/ref/databases/#persistent-connections >> >> On Wed, Apr 10, 2013 at 2:59 AM, Lewis Sobotkiewicz <le...@semadic.com> >> wrote: >> > Hi all, >> > >> > I'm seeing some strange, undocumented behaviour when upgtrading to >> Django >> > 1.5.1. I notice that it is holding onto MySQL connections after request >> > processing completes, where Django 1.4.5 disconnected after every >> request. >> > >> > Any idea what could be happening? Thanks! >> > >> > >> > -- >> > You received this message because you are subscribed to the Google >> Groups >> > "Django users" group. >> > To unsubscribe from this group and stop receiving emails from it, send >> an >> > email to django-users...@googlegroups.com. >> > To post to this group, send email to django...@googlegroups.com. >> > Visit this group at http://groups.google.com/group/django-users?hl=en. >> > For more options, visit https://groups.google.com/groups/opt_out. >> > >> > >> >> >> >> -- >> Best regards, >> Andrey Kostakov >> Email/Gtalk: b...@dzen.ws >> > -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at http://groups.google.com/group/django-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.