Here is part of `netstat -p ` output:

unix  3 [ ] STREAM CONNECTED 269896450 -  /home/tmp/mysql.sock 
unix  3 [ ] STREAM CONNECTED 269896449 27173/python
unix  3 [ ] STREAM CONNECTED 269896448 -  /home/tmp/mysql.sock 
unix  3 [ ] STREAM CONNECTED 269896447 27173/python

I get this connections when using middle kit from webware 8, and with
each referring to db I getting more and more same strings. It looks like
Middle kit did not closing connections. How to fix it?

Here is my code: 
stor = GenPage.MySQLConnection( self )
stor.readModelFileNamed('test/Middle/Billing')
ObjLists = stor.fetchObjectsOfClass("Customer")

here GenPage.MySQLConnection :

def MySQLConnection( self ): """ Method returns
MySQLObjectStoreobject or create in if it is unitialized"""             
if not self.connection: 
self.connection = MySQLObjectStore( ...... ) 
return self.connection  

Best regards, Bogdan.


-------------------------------------------------------
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

Reply via email to