Accessing dead thread objects while using SQLAlchemy with Pylons Paste HTTP Server #754
Labels
blocker
issue that must be resolved asap as it is preventing things from working
bug
Something isn't working
connection pool
Milestone
Migrated issue, originally created by Anonymous
While using SQLAlchemy 0.4.0beta4 with Paste HTTP Server (threaded) in high load conditions
(such as testing server performance with Apache Bench), I'm getting an error:
'sqlalchemy/pool.py', line 158 in connect
return self._threadconnsthread.get_ident()().checkout()
AttributeError: 'NoneType' object has no attribute 'checkout'
(full traceback in attached file)
When I'm using SQLAlchemy 0.4beta3 all seems fine.
To setup my application I closely followed 'SQLAlchemy 0.4 for people in a hurry' tutorial
http://wiki.pylonshq.com/display/pylonscookbook/SQLAlchemy+0.4+for+people+in+a+hurry
Unfortunately I can't attach a complete test case, because of the nature of this problem (threading).
Attachments: error_traceback.txt
The text was updated successfully, but these errors were encountered: