Microsoft ODBC for Oracle Driver problem



I think I have a resource issue with this driver.

Our customers can either buy our software and host it themselves on their
own web server or we can host it for them.

On our hosted servers, we are having an issue where suddenly the ODBC
connection to the database cannot be established and the application pool
has to be recycled, resolving the issue till next time. This is a real
issue for us as once this happens for one customer it happens for every
customer on that hosted machine.

This is running IIS6 on Windows 2003 Enterprise Edition on a machine with
2Gb ram and a Dual CPU.

Our presentation layer is an ISAPI DLL that connects to Oracle via the
Microsoft ODBC Driver for Oracle.

Each customer gets their own section on the web server. There are 133
customers, 133 seperate websites and 133 ODBC connection. Due to
compatibility issues with Oracle and their drivers, the Microsoft ODBC for
Oracle driver is what we specifiy for use with our software and this works
without issue, except on our hosting server.

Examination of the Oracle logs shows nothing and other machines are still
able to connect to the database, so the issue is clearly isolated to the
machine rather than Oracle or the machine its on.

Each one of these ISAPI DLL creates 250 worker threads. Each one could
potentially have a connection to the database. That means that there are
33250 thread created on the machine each potentially with a connection to
the database. Due to the nature of our software, there is a real
possibility that a lot of people submit at a specific time.

The ISAPC software is written in Visual C++6 connects to the database using
a COM component. It opens and closes the ODBC data handles every time
someone requests a page. The DB COM component is also discarded at the end
of the request, this discards the ODBC data handle. The DB COM component
uses the MFC ODBC classes. Opening and closing both COM and ODBC like that
is not ideal, its quite slow, but this is old software now, it works
generally, and I have been given responsibility to maintain it.

I've tested the database COM component for any hint of a memory or resource
leak and cannot see one. 10's millions of requests to various sections and
neither does it leak resources or does the connection to Oracle stop
working.

ODBC tracing is not available to me (KB836072)

Any suggestions on what might be causing this?

I cannot see anything related to this in the knowledge base for that ODBC
driver. Is there a way of monitoring the ODBC drivers resources using the
Performance monitor?

Alex



.



Relevant Pages

  • Re: Oracle 9i ODBC Driver for Windows XP 64 (XP 2003)
    ... One thing to try is to use the 32-bit ODBC Data Source Adminstrator. ... the Oracle driver is there. ...
    (comp.databases.oracle.server)
  • Linking To FoxPro via ODBC problem
    ... my XP machine had a Visual FoxPro driver version 1.00.02.00 ... I downloaded FoxPro ODBC driver version 6.01.8269.01 from MSDN. ... Both my client and I now have the same version. ... I have a customer table with 167 records. ...
    (microsoft.public.data.odbc)
  • Re: Free ODBC driver for Oracle on AIX?
    ... While MS created the ODBC standard it can be used to access any ODBC ... I have used a driver from Data Direct to access a MS SQL Server ... database using the Oracle generic connectivity feature. ... tables using SQL issued in my AIX hosted Oracle database. ...
    (comp.databases.oracle.server)
  • Re: Access - Orcale - Verbindung
    ... Die Anbindung einer Applikation über ODBC an Oracle verläuft normalerweise ... Application, ODBC Driver manager, Oracle Driver, ... Insofern dürfte der ODBC Treiber allein nicht ausreichend sein. ...
    (microsoft.public.de.access)
  • Re: ODBC Trace File issue
    ... These do not have anything to do with ODBC. ... It's possible that the Oracle ... driver is writing it's own trace files. ... They appeared to be ODBC trace files but the trace ...
    (microsoft.public.data.odbc)