Microsoft KB Archive/255054

From BetaArchive Wiki
Knowledge Base


COM+ Does Not Reach SetMaxThreads for the Package

Article ID: 255054

Article Last Modified on 2/19/2007



APPLIES TO

  • Microsoft Windows 2000 Server
  • Microsoft Windows 2000 Advanced Server
  • Microsoft Windows 2000 Professional Edition
  • Microsoft Internet Information Services 5.0



This article was previously published under Q255054

SYMPTOMS

An application, such as ASP in Internet Information Services (IIS) 5.0, that uses COM+ to manage a thread pool may experience poor performance because COM+ does not increase the thread count in the pool. Under normal conditions, COM+ increases the threads in the thread pool up to the maximum thread limit set by the SetMaxThreads method for the package. However, if the initial worker threads in the pool are too busy, then this issue may occur.

For example, when the ASP work load on an IIS 5.0 computer increases so that each worker thread uses up a considerable amount of time to complete each request, COM+ may never create any more threads even though the work in the shared queue is always increasing, which in this case, causes ASP queuing to occur. This problem can be identified by monitoring CPU usage. This problem will show up when CPU utilization by Inetinfo is very low, usually on long blocking calls.

CAUSE

Under heavy load, it is possible that the thread pool monitoring thread is not spin up. When this happens, additional threads are not added as needed. The thread pool monitoring thread must always be active.

RESOLUTION

To resolve this problem, obtain the latest service pack for Windows 2000. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:

260910 How to Obtain the Latest Windows 2000 Service Pack


A supported fix is now available from Microsoft, but it is only intended to correct the problem that is described in this article. Apply it only to computers that are experiencing this specific problem.

To resolve this problem immediately, download the fix by clicking the download link later in this article or contact Microsoft Product Support Services to obtain the fix. For a complete list of Microsoft Product Support Services phone numbers and information about support costs, visit the following Microsoft Web site:

NOTE: In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The usual support costs will apply to additional support questions and issues that do not qualify for the specific update in question.

The following files are available for download from the Microsoft Download Center:

For additional information about how to download Microsoft Support files, click the following article number to view the article in the Microsoft Knowledge Base:

119591 How to Obtain Microsoft Support Files from Online Services


Microsoft scanned this file for viruses. Microsoft used the most current virus-detection software that was available on the date that the file was posted. The file is stored on security-enhanced servers that help to prevent any unauthorized changes to the file.



STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.

This problem was first corrected in Windows 2000 Service Pack 1.


Additional query words: COM+ Thread Pool

Keywords: kbhotfixserver kbqfe kbbug kbfix kbqfe kbthread KB255054