Active Server Pages with ODBC driver for DB2 creates more than 7,000 threads (316938)
The information in this article applies to:
- Microsoft SNA Server 4.0 SP3
- Microsoft SNA Server 4.0 SP4
- Microsoft Host Integration Server 2000
- Microsoft Host Integration Server 2000 SP1
This article was previously published under Q316938 SYMPTOMS
Microsoft Internet Information Server (IIS) enters a recursive loop and creates more than 7,000 threads under the following circumstances:
- A Microsoft Active Server Pages (ASP) program uses ActiveX Data Objects (ADO) and Microsoft ODBC Driver for DB2 to retrieve data.
-and-
- The ASP page runs in Isolated or Pooled Out-of-Process mode on Microsoft Windows 2000.
-or- - The ASP page runs in Out-of-Process mode on Microsoft Windows NT 4.0 Service Pack 6a.
The first ASP request completes and returns a result to the client. However, when the Web Application Manager (WAM) cleans up after the request, WAM enters a recursive loop that ends only when the system runs out of resources or when the CacheCreateThread function stops responding.
CAUSE
This problem occurs because the ODBC Driver for DB2 incorrectly calls the CoInitializeEx function on a newly created thread.
RESOLUTION
Microsoft recommends that you use the Microsoft OLE DB Provider for DB2 instead of ODBC Driver for DB2.
STATUSMicrosoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.
Modification Type: | Major | Last Reviewed: | 10/12/2004 |
---|
Keywords: | kbbug kbnofix KB316938 |
---|
|