[sqlalchemy] mod_wsgi, SQLite3 and a threading anomaly because connection is not returned to pool by session.remove()

2010-06-10 Thread Vinay Sajip
I'm getting the SQLite objects created in a thread can only be used in that same thread. error when using a web application with mod_wsgi configured in daemon mode with processes=1, threads=15 on Ubuntu Karmic, using Python2.6. I saw another thread [1] which mentioned a similar issue, and I

Re: [sqlalchemy] mod_wsgi, SQLite3 and a threading anomaly because connection is not returned to pool by session.remove()

2010-06-10 Thread Michael Bayer
On Jun 10, 2010, at 2:54 PM, Vinay Sajip wrote: I'm getting the SQLite objects created in a thread can only be used in that same thread. error when using a web application with mod_wsgi configured in daemon mode with processes=1, threads=15 on Ubuntu Karmic, using Python2.6. When a GET