Our Oracle (9i) DBA called me to report that my IIS (v6) web server has exhausted the available connections.
I created a test page (Classic ASP) that basically creates ADODB.Connection and ADODB.Recordset objects, connects to a database, opens a basic recordset, loops through it, closes the recordset and connection and sets the objects to nothing. This is what most of the applications on the web server do.
While speaking with the DBA I opened the test web page. The DBA was able to see that I connected and noted the ID (I assume this ID helps him track the connection). The page finished loading, therefor, the Close method of both objects have occurred.
The DBA said that the connection was still showing, even after I closed the browser.
Eventually the connection went away, I assume because the Application Pool recycled.
So my question is: Is this normal? Should the connection not go away after the Close method is called.. or at least the session is closed?
I'm not sure if this is helpful or even related, but we've seen these errors periodically in the event viewer on the our web servers:
Event Type: Information
Event Source: Application Error
Event Category: (100)
Event ID: 1004
Date: 7/21/2010
Time: 7:34:20 AM
User: N/A
Computer: VMADE02
Description:
Reporting queued error: faulting application w3wp.exe, version 6.0.3790.3959, faulting module orantcp9.dll, version 9.2.0.6, fault address 0x00005741.