Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

The thread count increases quickly when you use WCF Adapter receive locations in BizTalk Server 2006 R2 or in BizTalk Server 2009


View products that this article applies to.

Symptoms

Consider the following scenario:
  • You have a computer that is running Microsoft BizTalk Server 2006 R2 or Microsoft BizTalk Server 2009.
  • You create a receive location that uses a Windows Communication Foundation (WCF) LOB Adapter SDK-based adapter to receive messages. For example, you use a custom adapter or an adapter from BizTalk Adapter Pack 2.0.
In this scenario, you may experience the following symptoms:
  • Orchestration instances go into the Dehydrated state.
  • The receive location does not process new messages.
Additionally, if you monitor the Process\ThreadCount$BTSNTSvc counter in Performance Monitor, you may see the thread count value increase quickly.

If you use the WCF-SQL Server adapter in this scenario, you may also experience the following symptoms:
  • Exclusive locks appear in database tables, and you find errors in the DTC trace.
  • You may see the DTCXact transaction open when the program executes DBCC OPENTRAN.
  • Sys.dm_tran_active_transactions dynamic management view in SQL Server Management Studio returns transaction_type =4 records. The Transaction_type =4 indicates it is a distributed transaction and the commit process has been initiated. However, the distributed transaction is still active and further processing does not take place.

↑ Back to the top


Cause

This problem occurs because the time-out value of WCF does not synchronize with the receive time-out when there is no data to poll. Additionally, WCF opens a new channel and waits for messages on the new channel. This may cause a memory leak situation.

↑ Back to the top


Resolution

To resolve this problem, apply this hotfix.

Cumulative update information

The hotfix that resolves this issue is included in Cumulative Update 1 for BizTalk Adapter Pack 2.0. 

For more information about how to obtain the cumulative update package, click the following article number to view the article in the Microsoft Knowledge Base: 

2444952 Cumulative update package 1 for BizTalk Adapter Pack 2.0

Hotfix information

A supported hotfix is available from Microsoft. However, this hotfix is intended to correct only the problem that described in this article. Apply this hotfix only to systems that are experiencing the problem described in this article. 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 website: 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.

Prerequisites

You must have the WCF LOB Adapter SDK Service Pack 2 (SP2) installed to apply this hotfix.

Restart information

You do not have to restart the computer after you apply this hotfix.

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.

WCF LOB Adapter SDK SP2 (x86-based)
File nameFile versionFile sizeDateTimePlatform
Microsoft.servicemodel.channels.dll3.0.5308.0280,44803-Aug-201002:56x86
WCF LOB Adapter SDK SP2 (x64-based)
File nameFile versionFile sizeDateTimePlatform
Microsoft.servicemodel.channels.dll3.0.5308.0276,35203-Aug-201002:59x64

↑ Back to the top


More Information

For more information about working with BizTalk Adapter for SQL Server Binding Properties, visit the following Microsoft website:
For more information about BizTalk Server hot fixes, click the following article number to view the article in the Microsoft Knowledge Base:
2003907 Information on BizTalk Server hot fixes

↑ Back to the top


Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

↑ Back to the top


Keywords: kbbiztalk2009presp1fix, kbbtsadapters, kbexpertiseinter, kbprb, kbautohotfix, kbfix, kbhotfixserver, kbqfe, kb, kbsurveynew

↑ Back to the top

Article Info
Article ID : 2300507
Revision : 1
Created on : 1/7/2017
Published on : 8/7/2013
Exists online : False
Views : 283