FIX: The number of concurrently running orchestrations in BizTalk Server reaches 250, and you experience poor performance after you install the .NET Framework 2.0 SP1 or a later version of the .Net Framework
You install the Microsoft .NET Framework 2.0 SP1 or certain later versions of the .NET Framework on a computer that is running Microsoft BizTalk Server. When the server is under heavy load, you may notice that as many as 250 BizTalk orchestrations are running concurrently. Therefore, you experience poor performance on the server. Additionally, you may notice thatdownstream servers are overwhelmed by messages that are sent through BizTalk adapters during the heavy load condition.
- You can monitor the number of concurrently running BizTalk orchestrations in Performance Monitor by using the "XLANG/s Orchestrations" - "Running orchestrations" counter. For more information, see the More Information section.
- Because of certain file dependencies, the .NET Framework 3.5 and the .NET Framework 3.0 SP1 automatically install the .NET Framework 2.0 SP1.Also, the .NET Framework 3.5 SP1 automatically installs the .NET Framework 2.0 SP2. Therefore, this issue also occurs after you install the following versions of the .NET Framework:
- .NET Framework 2.0 SP2
- .NET Framework 3.0 SP1
- .NET Framework 3.5
- .NET Framework 3.5 SP1
The number of running orchestrations is limited by the MaxWorkerThreads setting. The Microsoft .NET Framework 2.0 SP1 specifies a limit of 250. If you have not configured specifically the MaxWorkThreads setting for BizTalk Server, the number of concurrently running orchestrations can reach 250.
Hotfix informationA supported hotfix is available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing this specific problem.
If the hotfix is available for download, there is a "Hotfix download available" section at the top of this Knowledge Base article. If this section does not appear, submit a request to Microsoft Customer Service and Support to obtain the hotfix.
Note If additional issues occur or if any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. For a complete list of Microsoft Customer Service and Support telephone numbers or to create a separate service request, visit the following Microsoft Web site: Note The "Hotfix download available" form displays the languages for which the hotfix is available. If you do not see your language, it is because a hotfix is not available for that language.
PrerequisitesYou must have BizTalk Server 2006 R2 installed to apply this hotfix.
Restart requirementYou do not have to restart the computer after you apply this hotfix. However, you must restart the BizTalk Server services after you apply this hotfix.
Hotfix replacement informationThis hotfix does not replace any other hotfixes.
File informationThe English version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time item in Control Panel.
|File name||File version||File size||Date||Time||Platform|
To work around this issue, you can limit the number of orchestrations running at one time by creating the following CLR Hosting registry key together with the corresponding DWORD values:
Note These values are in hexadecimal and can be changed according to your actual requirements.
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
If you are performance testing your application on BizTalk Server 2006 R2 and you encounter problems in your application that were not present when you ran the applicationon BizTalk Server 2004 or BizTalk Server 2006, you should consider applying this hotfix.
This hotfix sets the following default valuesif the CLR Hosting key is not specifically set:
Note These values are in decimal.
If you have a specific host for which you want the default values to be higher, you must manually create the registry entries as described in the Workaround section.
For more information about orchestration engine performance counters, visit the following Microsoft Web site:
For more information about configuration settings that can affect the performance of BizTalk Server adapters, visit the following Microsoft Web site:
For more information about the ThreadPool class in the .NET Framework 2.0, visit the following Microsoft Web site:
For more information about the ThreadPool class in the .NET Framework 3.5, visit the following Microsoft Web site:
Article ID: 961810 - Last Review: 06/11/2009 09:16:50 - Revision: 1.2
Microsoft BizTalk Server 2006 R2 Developer Edition, Microsoft BizTalk Server 2006 R2 Enterprise Edition, Microsoft BizTalk Server 2006 R2 Standard Edition, Microsoft BizTalk Server 2006 R2 Branch Edition
- kbbiztalk2006r2sp1fix kbsurveynew kbautohotfix kbbtsadapters kbexpertiseinter kbhotfixserver kbqfe KB961810