Re: Web services in Django

2007-02-11 Thread marxy
It might be good to see what our friends at TurboGears are up to with http://cheeseshop.python.org/pypi/TGWebServices/ cheers, peter --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to

Re: Database session leak with postgres or is it open transactions

2007-01-05 Thread marxy
Ok, it turns out that when you kick of a thread and use the db a new database session is created. You do need to explicitly do a connection.close() at the end of your thread's run method or the session leaks. I got rid of all the setDaemon() calls, no good or bad effects. Cheers, Peter --~--

Database session leak with postgres or is it open transactions

2006-12-22 Thread marxy
We have an application that has a django front end and a bunch of backend stuff that uses django's excellent database api. We've developed using sqlite and recently switched to the postgres back end. We leak database sessions and eventually run out of postgres's 100 sessions after several hours