When running Middle Kit non threaded and without connection pool it runs out of connections, because once used connections are not closed when done. Probably this breaks pooled and threaded mode. --md@hudora.de --- MiddleKit/Run/SQLObjectStore.py.orig Sun Nov 2 12:14:49 2003 +++ MiddleKit/Run/SQLObjectStore.py Sun Nov 2 12:15:13 2003 @@ -212,6 +212,9 @@ # Get new id/serial num idNum = self.retrieveLastInsertId(conn, cur) + # for some reason connections get not garbage collected without this + cur.close() + conn.close() # Update object object.setSerialNum(idNum)