Two possibilities.

sqlalchemy.echo = false
sqlalchemy.echo_pool = false
sqlalchemy.pool_recycle = 10

With pyramid, based on a chat in IRC with Ben Bangert, I modified
those to:

sqlalchemy.echo = false
sqlalchemy.echo_pool = false
sqlalchemy.pool_recycle = 30
sqlalchemy.pool_size = 20
sqlalchemy.max_overflow = 10
sqlalchemy.pool_timeout = 5

------

However, the thing that is puzzling is the Gone Away/out of sync on
startup.  I think what you might find there is that you have altered
Session somewhere during your startup or not instantiated it
properly.  Might want to check your models to make sure that the DB
session isn't overwritten somewhere which is coincidentally mentioned
in a very recent thread:

http://groups.google.com/group/pylons-discuss/browse_thread/thread/4994e152af779a38

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" 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/pylons-discuss?hl=en.

Reply via email to