Django ORM leaves opened connections

Posted by cleg on Stack Overflow See other posts from Stack Overflow or by cleg
Published on 2010-03-17T15:03:50Z Indexed on 2010/03/17 15:11 UTC
Read the original article Hit count: 550

I'm using django ORM with Postgres. After any operations with models (e.g. simple select) in postgres appears new opened connection in IDLE state.

I've tried all possible transaction manipulations, I've tried calling

connection.close() 

manually. All useless. And sooner or later, I'm recieveing "FATAL: connection limit exceeded for non-superusers" message.

What can I've made wrong?

© Stack Overflow or respective owner

Related posts about django-models

Related posts about postgresql