Hi all! I have a code like in example:
stor = MySQLObjectStore( user=self.DBAccess['user'], \
passwd=self.DBAccess['password'] )
stor.readModelFileNamed('test/Middle/Billing')
ObjLists = stor.fetchObjectsOfClass("Customer")
Here is my Setting.config:
{
'Package': 'test.Middle',
'Database': 'aventradb',
#'SQLLog': { 'File': 'mk-sql.log' },
'SQLConnectionPoolSize': 5,
}
Each time, when I used this code `netstat -p` tell me that I have new connections
which are no closed even if they still no needed. So if I will use it for 15 time.
I'll get nearly 15 conncections except connetctions that are closed by mysql for
timeout (I think). How to close manually all connections that was used? I browsed thow
SQLObject I find, that connections are takeing from a pool, byt I find no interface to
return them into pool manually, and as a saw, they can't return themself. If this
problem can't be solved, so MK if fully not usable for producton, because this
behaviour is a direct way for DOS attack. Please, help me, I'm felling myself
fullstupid.
Thanx in advance and hoping for help.
Best regards, Bogdan.
pgp00000.pgp
Description: PGP signature
