I have a script that works on our TG2.1 model periodically. The script imports the DBSession from project.model and performs several transactions. All seems to be working perfectly but after a few ours our website is completely blocked and the last message I see is "QueuePool limit of size 5 overflow 10" I think it must be exhausting the database connections or freezing somewhere is sqlalchemy.
Does anybody have an idea around this or recipe for how to make a periodic cleaner script for TG 2.1 correctly? BTW the periodic script is launched by tgscheduler and started when the system loads if that is any indication. Thanks. -- You received this message because you are subscribed to the Google Groups "TurboGears" group. To view this discussion on the web visit https://groups.google.com/d/msg/turbogears/-/1f0bIewmKnwJ. 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/turbogears?hl=en.

