I'm having an interesting problem. After inserting a bunch of records into my database ( about 400,000), it the database starts refusing connections. Even after restarting the database daemon, I can not query the database (django lets me query, but returns nothing in the querysets). The only method that works is dropping the tables and then I can attempt the import again. This happens with both mysql and pyscopg2-postgres backends. This is this error I get in my postgres logs:
LOG: 08P01: unexpected EOF on client connection LOCATION: SocketBackend, postgres.c:323 DEBUG: 00000: proc_exit(0) LOCATION: proc_exit, ipc.c:98 DEBUG: 00000: shmem_exit(0) LOCATION: shmem_exit, ipc.c:164 DEBUG: 25001: SET TRANSACTION ISOLATION LEVEL must be called before any query I am using some rawsql to do an executemany, and I'm handling the transaction commits manually, but even when taken that code out and just using standard *.objects.create, and the results are still the same. The fact that it happens on 2 different database backends leads me to believe that it is a problem with the django database layer. This occurs with both the django stable version, and trunk. Any help would be great appreciated. Thanks, James --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---

