Re: [sqlalchemy] Entity KeyErrors under heavy load

2011-08-29 Thread Michael Bayer
OK well there's a short answer and a longer answer here. The short answer is that this is only a warning, not an "error" per se as it occurs during garbage collection, and is entirely harmless. To totally prevent them, probably ensuring that close() is called on all Session objects before rem

[sqlalchemy] Entity KeyErrors under heavy load

2011-08-29 Thread Paul Andrew
Hi there, We're running load tests against our Pylons application, which uses SQLAlchemy to hit an Oracle DB. Under load, we're starting to see errors pop up in our Apache logs: [Mon Aug 29 13:39:59 2011] [error] Exception KeyError: KeyError((, (631,)),) in > ignored [Mon Aug 29 13:39:59 2011] [