Subject Re: Large number of DB connections left open in a service
Author
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