Django freezes when adding objects through the admin

Posted by Quartz on Server Fault See other posts from Server Fault or by Quartz
Published on 2010-05-18T04:40:58Z Indexed on 2010/05/18 4:51 UTC
Read the original article Hit count: 260

Filed under:
|
|

I have a Django 1.1 website running via Apache/mod_wsgi with a PostgreSQL 8.3.1 database. Recently, when I added objects through the admin interface, the connection froze up and I lost several worker processes, so I had to restart Apache.

Upon trying to replicate this, I found that it only happens through the admin: if I go into the Django shell and issue the same insert, it works fine. Also, performing an UPDATE operation works without issues, so just INSERTs.

I've rebuilt indexes on PostgreSQL and run a full VACUUM. Error logs don't show anything, and I can't figure out for the life of me what's wrong. Anyone have any ideas?

© Server Fault or respective owner

Related posts about django

Related posts about postgresql-8.3