Subject | Large number of DB connections left open in a service |
---|---|
Author | |
Post date | 2018-03-22T20:59:12Z |
I have a service that is leaving a lot of database connections open. I checked and everywhere I create the data module that has the TIB_Conneciton I free.
I do call .DisconnectToPool. Might that have something to do with it? Should this be safe in a service?
The TIB_Connection object is created with the data module, and in the .Destroy of the DM I call DisconnectToPool before it is freed.
I am in the testing phase of this, but I really don't know where to look outside of that.
Ed Dressel