Hi,
I have developed a high-performance ISAPI extension that uses worker threads
to service requests. It works great except for spurious 12029 errors
("Attempt to connect to the server failed.").
I have a test application that uses WinInet functions to connect to my ISAPI
extension (running on the same computer). The test application sends
requests synchronously so that it never starts a new request before the
previous one has completed. I am running only a single instance of this test
application.
The errors occur randomly, about 1 error per 1000-2000 requests.
By placing some OutputDebugString calls in my ISAPI extension I verified
that the error occurrs before my HttpExtensionProc() function is called. I
also ran Performance Monitor to check the "Current ISAPI Extension Requests"
counter. It never went past 2 during the time the errors were reported.
Any ideas how to debug this problem?
My test machine is a single-processor 2,4 GHz workstation-grade computer. I
am running Windows XP Pro with latest service packs and patches installed. I
have configured my ISAPI extension to run in an isolated process.
--
Mikko Noromaa (mikkon@excelsql.com)
- SQL in Excel, check out ExcelSQL! - see http://www.excelsql.com -