Select the product you need help with
FIX: Slow performance on startup when you process a high volume of messages through the SOAP adapter in BizTalk ServerArticle ID: 886966 - View products that this article applies to. Important This article contains information about how to modify the registry. Make sure that you 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
(http://support.microsoft.com/kb/256986/
)
Description of the Microsoft Windows registryOn This PageSYMPTOMSIn Microsoft BizTalk Server 2006 R2, in 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 2006 R2 or BizTalk Server 2006To resolve the issue that is described in the Symptoms section in BizTalk Server 2006 R2 or in BizTalk Server 2006, you must add the following registry key:HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\BTSSvc$Hostname\CLR Hosting
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 the operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk.
MaxWorkerThreads and BizTalk Server, visit the following Microsoft Developer Network (MSDN) site:
http://blogs.msdn.com/biztalkperformance/archive/2007/09/28/threads-db-sessions-and-throttling.aspx
(http://blogs.msdn.com/biztalkperformance/archive/2007/09/28/threads-db-sessions-and-throttling.aspx)
For more information, click the following article number to view the article in the Microsoft Knowledge Base: 824684
(http://support.microsoft.com/kb/824684/
)
Description of the standard terminology that is used to describe Microsoft software updates
BizTalk Server 2004Service pack informationTo 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
(http://support.microsoft.com/kb/888751/
)
How to obtain the latest BizTalk Server 2004 service pack
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. This hotfix might receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next software update that contains this hotfix.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, contact 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: http://support.microsoft.com/contactus/?ws=support 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.
(http://support.microsoft.com/contactus/?ws=support)
PrerequisitesNo 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 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.Date Time Version Size File name --------------------------------------------------------------------------- 07-Oct-2004 21:16 3.0.5348.0 61,440 Microsoft.biztalk.soaptransport.dll 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.
MORE INFORMATIONIn BizTalk Server 2004, the hotfix that is described in the Resolution section introduces a new registry key that sets the minimum number of worker threads that are available to service SOAP requests on startup. Therefore, after you apply this hotfix, you must add the following registry key: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\BTSSvc{Guid}\CLR Hosting
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 in BizTalk Server 2004, 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 the operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk.
PropertiesArticle ID: 886966 - Last Review: July 1, 2008 - Revision: 4.0 APPLIES TO
|



Back to the top








