> From: Bogdan <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Organization: MSHRC > Subject: [Webware-discuss] Middle Kit didn't closing connections? >
> I get this connections when using middle kit from webware 8, and with > each referring to db I getting more and more same strings. I have found the same problem, and I have also found that it started when I upgraded to 0.8. Fortunately, the solution is simple: just enable the SQL Connection pool in Settings.config http://webware.sourceforge.net/Webware-0.8/MiddleKit/Docs/UsersGuide.html --------------------------------------snip The SQLConnectionPoolSize setting is used to create a MiscUtils.DBPool instance for use by the store. For DB API modules with a threadsafety of only 1 (such as MySQLdb), this is particularly useful (in one benchmark, the speed up was 15 - 20%). Simply set the size of the pool in order to have one created and used: { 'SQLConnectionPoolSize': 20, } -------------------------------------snip -- Martin Virtel [EMAIL PROTECTED] aim / yahoo messenger mvftd tel. +49 177 242 2889 ------------------------------------------------------- This SF.net email is sponsored by: Scholarships for Techies! Can't afford IT training? All 2003 ictp students receive scholarships. Get hands-on training in Microsoft, Cisco, Sun, Linux/UNIX, and more. www.ictp.com/training/sourceforge.asp _______________________________________________ Webware-discuss mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/webware-discuss
