FIX: Slow performance on startup when you process a high volume of messages through the SOAP adapter in BizTalk Server 2006 or in BizTalk Server 2004 (886966)
The information in this article applies to:
- Microsoft BizTalk Server 2006 Standard Edition
- Microsoft BizTalk Server 2006 Enterprise Edition
- Microsoft BizTalk Server 2006 Developer Edition
- Microsoft BizTalk Server 2004 Standard Edition
- Microsoft BizTalk Server 2004 Partner Edition
- Microsoft BizTalk Server 2004 Enterprise Edition
- Microsoft BizTalk Server 2004 Developer Edition
Important This article contains information about how to modify the registry. Make sure to back up the registry before you modify it. Make sure that you know how to restore the registry if a problem occurs. For more information about how to back up, restore, and modify the registry, click the following article number to view the article in the Microsoft Knowledge Base: 256986 Description of the Microsoft Windows registry SYMPTOMSIn Microsoft BizTalk Server 2006 or in Microsoft BizTalk Server 2004 , you may experience slow performance on startup when you process a high volume of messages through the SOAP adapter. When this problem occurs, it may take a long time before messages are processed by the SOAP adapter. The length of time may vary depending on the number of messages that must be processed.CAUSEThis problem occurs when the SOAP adapter is initialized and the startup thread pool is not large enough to handle the number of SOAP requests. Therefore, the SOAP adapter must add more worker threads to the thread pool. This process may take some time to be completed. The process of adding more worker threads continues until the maximum thread limit is reached.
Note To maximize the number of threads that are available to process Web service requests, we recommend that the SOAP adapter and the orchestration run in different processes. To configure this, create a new BizTalk host instance in BizTalk Server Administrator.RESOLUTIONBizTalk Server 2006To resolve the issue that is described in the Symptoms section in BizTalk Server 2006, you must add the following registry key: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\BTSSvc$Hostname\CLR Hosting Additionally, you must add the following DWORD entries to this registry key: - MinCompletionPortThreads
- MinWorkerThreads
We recommend that you set the value of the MinWorkerThreads DWORD entry by using the following formula: Maximum number of messages that you expect to load on the SOAP adapter + 10% For example, if you expect to load 200 messages on the SOAP adapter, the value should be 220. By default, the MinCompletionPortThreads DWORD entry is set to a value of 150. To add this new registry key, follow these steps. Warning Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require that you reinstall your operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk. - Click Start, click Run, type regedit, and then click OK.
- Locate and then click the following registry subkey:HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\BTSSvc$HostnameNote In this registry subkey, HostName is the name of the host that is associated with the host instance.
Note If the CLR Hosting key already exists, go to step 5. - On the Edit menu, click New, and then click Key.
- Type CLR Hosting, and then press ENTER.
- Locate and then click the following registry subkey:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\BTSSvc$Hostname - On the Edit menu, click New, and then click DWORD Value.
- Type MinCompletionPortThreads, and then press ENTER.
- On the Edit menu, click New, and then click DWORD Value.
- Type MinWorkerThreads, and then press ENTER.
- Right-click MinWorkerThreads, and then click Modify.
- In the Edit DWORD Value dialog box, click Decimal, and then type the value that is calculated by using the recommended formula.
Note For example, if you expect to load 200 messages on the SOAP adapter, the value should be 220. - On the File menu, click Exit.
For more information, click the following article number to view the article in the Microsoft Knowledge Base:
824684
Description of the standard terminology that is used to describe Microsoft software updates
BizTalk Server 2004 Service pack information
To resolve this problem, obtain the latest service pack for Microsoft BizTalk Server 2004. For more information, click the following article number to view the article in the Microsoft Knowledge Base:
888751 How to obtain the latest BizTalk Server 2004 service pack
Hotfix informationPrerequisitesNo prerequisites are required.Restart requirementYou do not have to restart your computer after you apply this hotfix.Registry informationYou must modify the registry after you apply this hotfix. For more information, see the "More Information" section.Hotfix replacement informationThis hotfix does not replace any other hotfixes.File information
The 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.
Date Time Version Size File name
---------------------------------------------------------------------------
07-Oct-2004 21:16 3.0.5348.0 61,440 Microsoft.biztalk.soaptransport.dll
Note Because of file dependencies, the most recent hotfix that contains these files may also contain additional files. STATUSMicrosoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
This problem was corrected in BizTalk Server 2004 Service Pack 1.
Modification Type: | Major | Last Reviewed: | 8/29/2006 |
---|
Keywords: | kbbiztalk2004-2006swept kbBizTalk2004sp1fix kbBizTalk2004preSP1fix kbbug kbfix kbHotfixServer kbQFE KB886966 kbAudDeveloper kbAudITPRO |
---|
|