Subject | RE: [IBO] Re: Large number of DB connections left open in a service |
---|---|
Author | Jason Wharton |
Post date | 2018-03-26T21:55:31Z |
Ed,
Maybe I could have a look via TeamViewer and see if I can spot
this issue?
Jason
From: IBObjects@yahoogroups.com [mailto:IBObjects@yahoogroups.com]
Sent: Thursday, March 22, 2018 7:24 PM
To: IBObjects@yahoogroups.com
Subject: [IBO] Re: Large number of DB connections left open in a service
My communication layer for my service is RemObjets.
When I run it as a Windows application, I can see (via Process Explorer)
the TCP/IP connections to the DB open and close. I compile to a DLL for Windows
ISAPI DLL and when it runs, the DB connections stay open.
I tried changing the .DisconnectToPool to .Close and that did change
anything--the connects stay open.
My code is pretty clean, something like:
ldm := TdmData.Create(nil);
try
ldm.DOSomthing;
finally
ldm.Free;
end;
I do override the destructor, and I checked, I do call
inherited;
I really am at a loss here. I am not sure what to even look at.
Ed