I'm not sure how you configured your flup, but probably you didn't ask for more than 100 persistent connections?

I ran into the same problem with DBUtils and MySQLdb, even when there should have been only 10 persistent connections.

If I didn't overlook something, DBUtils doesn't close connections when the
Python process exits. So, I suspect that when the application server gets restarted frequently (i.e. during development), all those abandoned connections will pile up inside the database server and at some point exhaust its connection pool.

I use a homegrown scheme for connection persistence now - it explicitly closes all persistent connections when Python exits.  No problems since then. You could add that to DBUtils, too, I guess. Alternatively, I could also send you my code if you're interested. Michael.

Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around