BizTalkTrackedDataCommandTimeoutSeconds - System Parameter
New 7.12
BizTalkTrackedDataCommandTimeoutSeconds sets how many seconds the Logging Service waits for one read of tracked data from the BizTalk tracking database (BizTalkDTADb) before it gives up. Raise it when the copy for BizTalk Server Logging times out because the linked server to the BizTalk SQL Server is slow, for example over a VPN or another WAN link.
At a Glance
| Property | Value |
|---|---|
| Key | BizTalkTrackedDataCommandTimeoutSeconds |
| Data type | integer (seconds), at most 18000 (5 hours) |
| Default | 600 |
| Read by | Logging Service |
| Takes effect | The next copy run; no restart needed |
| Status | ✅ Active |
| Since | A Nodinite 7.12 update (7.12.x); until then the limit is a fixed 600 seconds |
How It Works
For each BizTalk Log Agent, the Logging Service reads tracked context and message bodies from BizTalkDTADb through the linked server in batches, and then writes them to Nodinite. BizTalkTrackedDataCommandTimeoutSeconds limits how long one such read may take. It applies to the regular copy and to the copy that recovers late tracked data. The write to Nodinite has its own, fixed limit of 900 seconds, which this parameter doesn't change.
When a read takes longer than the limit:
- The Logging Service stops the read, and nothing from that batch is copied.
- The Log Audit gets a system error for the DTA function that timed out; see Copying Body and Context has been interrupted.
- The next copy run reads the same batch again. No tracked data is lost or skipped, but if every attempt times out, the copy never moves past that batch and no new BizTalk Log Events or bodies reach Nodinite.
A batch with many large bodies takes the longest over a slow linked server. Bodies larger than MessageProcessingMaxBodySize are not copied, so they don't add to the time.
Choosing a Value
- ✅ Keep the default
600while the copy keeps up with BizTalk. - Raise the value when the Log Audit shows repeated timeouts of the DTA functions and the BizTalk Log Events or bodies stop arriving. Choose a value well above the time one batch needs over your link; the read gives up at the current value, so try a clearly higher one, for example
1800, and lower it again later. - The highest value is
18000(5 hours); a higher value is read as18000. An empty value,0, a negative number, or a value that is not a whole number is read as600. - A Log Agent copies its Log Events after its bodies in the same run, so a long read also delays that agent's Log Events. Other BizTalk Log Agents run in parallel and are not affected.
- Set the value back to
600when the copy has caught up, so that a read that really hangs is noticed in time.