- 16 minutes to read

Ready to run instance(s) Category

Nodinite BizTalk Server Monitoring Agent empowers you to monitor BizTalk Server Ready to run instances for all BizTalk Applications in your group. Instantly detect issues, automate actions, and maintain business continuity.

  • Ready to run instances in BizTalk are listed within Nodinite as Resources named 'Ready to run instance(s)'.
  • Nodinite mirrors the Application structure, providing a 1:1 mapping with BizTalk Applications.
  • Ready to run instances are grouped by the Category Ready to run instance(s) for streamlined management.

A BizTalk Application's Ready to run instance(s) Resource going from OK to Warning after its Warning count is lowered to 20 with Edit thresholds, the badge switching from Global thresholds to This Application's thresholds, then Manage ready to run instances with 65 waiting sends, the oldest created 3 hours ago, 25 on page 1 of 3, animated walkthrough (7.12)
Animated walkthrough: the lab Application Lab.InstanceStates, whose sends wait for a stopped host instance, gets its own Warning count of 20 and turns Warning; Manage ready to run instances then lists the waiting sends.

  1. The Resource is OK: the sends wait for the stopped host instance, under the global Warning count of 2500.
  2. Press Action and select Edit thresholds. The badge reads Global thresholds.
  3. Set Warning count to 20 and click Save. The dialog says Saved with the time, the badge reads This Application's thresholds, and Reset to global appears.
  4. At the next evaluation, about a minute later, the Resource turns ⚠️ Warning: Too many or too old Ready to run instances detected according to the user-defined monitoring.
  5. Press Action and select Manage ready to run instances: the summary on top gives the number of waiting sends and the oldest one's age.

Monitor View filtered by the Ready to run instance(s) Category, one Resource per BizTalk Application, all OK (7.12)
A Monitor View filtered by the 'Ready to run instance(s)' Category: one Resource per BizTalk Application.

Note

All User operations within Nodinite are Log Audited, supporting your security and corporate governance compliance policies.

Understanding BizTalk Server Ready to Run Instances

Ready to Run Instances represent a critical state in BizTalk Server's message processing pipeline. These are service instances—orchestrations, messaging instances, or isolated host processes—that have been scheduled for execution by the BizTalk engine and are waiting in the host queue for an available thread to begin processing.

What Does "Ready to Run" Mean?

When BizTalk receives a message or activates an orchestration, it doesn't execute immediately. Instead, the instance is placed in a "Ready to Run" queue where it waits for:

  • Available thread resources in the host instance thread pool
  • Throttling conditions to clear (if BizTalk is rate-limiting processing)
  • Host instance startup (if host instances were stopped or recycling)
  • Message dequeuing from the MessageBox database work queues

Normal behavior: Instances transition through Ready to Run state in milliseconds to a few seconds as threads become available. The queue acts as a buffer between message arrival and processing.

Why Monitoring Ready to Run Instances is Critical

Excessive Ready to Run instances indicate processing bottlenecks where message arrival rate exceeds processing capacity. This creates cascading problems:

  • Processing Delays – Messages waiting in queues for extended periods, violating SLAs and delaying business transactions
  • Throttling Activation – BizTalk's host throttling mechanism may engage when queue depths exceed thresholds, further slowing processing
  • MessageBox Pressure – Ready to Run instances store state in MessageBox database, increasing query overhead and transaction log growth
  • Thread Starvation – All available threads busy processing, preventing new instances from starting
  • Resource Saturation – High CPU, memory, or database contention preventing efficient instance scheduling
  • Host Instance Instability – Extreme queue depths can cause host instance crashes or Out of Memory conditions

Types of Ready to Run Instances

  • Orchestration Instances – Orchestrations activated and waiting to execute first shape
  • Messaging Instances – Messages in receive pipeline, send pipeline, or port processing waiting for threads
  • Isolated Adapter Instances – SOAP, HTTP, or other isolated adapter host instances queued for execution

Normal vs. Problematic Accumulation

Normal Ready to Run Patterns

  • Burst processing – Batch file drops create temporary spikes during nightly processing windows
  • Startup queues – Brief accumulation after host instance restart as backlog clears
  • Controlled throttling – Intentional rate limiting during high-load periods (BizTalk working as designed)
  • Seconds-duration queuing – Instances spending <5 seconds in Ready to Run during steady-state operations

Problematic Ready to Run Patterns

  • Sustained high counts – Hundreds/thousands of instances queued for minutes or hours
  • Linear growth – Queue depth increasing over time without clearing, indicating processing can't keep up with arrival rate
  • Long-duration waiting – Individual instances in Ready to Run state for >30 seconds
  • All hosts affected – Multiple host instances across different BizTalk applications showing queues simultaneously
  • Post-incident accumulation – Large queues persisting after backend system recovery or host instance restart

Root Causes of Excessive Ready to Run Instances

  • Insufficient host instance resources – Too few host instances or insufficient thread pool configuration
  • CPU/memory saturation – Server hardware bottlenecks preventing thread execution
  • Database performance – Slow MessageBox queries or disk I/O causing dequeue delays
  • Downstream system latency – Slow backend web services, databases, or file systems creating processing backpressure
  • Large message processing – Very large messages consuming threads for extended periods
  • Inefficient orchestration logic – Complex transformations or synchronous calls blocking threads

Nodinite evaluates both count (how many instances are queued) and time (how long instances wait in queue), triggering alerts when thresholds are breached. This enables early detection of throughput bottlenecks before they cascade into system-wide failures.

What are the key features for Monitoring BizTalk Server Ready to run instances?

Nodinite's Ready to Run instance monitoring provides dual-threshold evaluation combined with real-time visibility into BizTalk's processing queues, enabling proactive capacity management and bottleneck detection:

  • Dual-Threshold Evaluation – Intelligent monitoring using both count-based (queue depth) and time-based (queue wait time) thresholds to detect different bottleneck patterns—capacity issues vs. thread starvation.
  • Real-Time Queue Visibility – View queued instances to identify which services, orchestrations, or message types are accumulating, helping pinpoint bottleneck sources.
  • Application-Specific Configuration – Tailor threshold settings per BizTalk Application to accommodate different throughput characteristics—high-volume messaging vs. low-volume orchestrations.
  • Early Warning System – Detect processing slowdowns before they cascade into throttling, host crashes, or SLA violations.
  • Capacity Planning Data – Historical queue depth patterns reveal when infrastructure scaling (more hosts, faster hardware, database optimization) is needed.

What is evaluated for BizTalk Ready to run instances?

The monitoring agent continuously queries BizTalk's MessageBox database to assess queue depths and instance wait times across all applications. Nodinite evaluates instances against both count and time thresholds, providing comprehensive throughput health assessment:

State Status Description Actions
🚫 Unavailable Resource not available Evaluation of the 'BizTalk Ready to run Instances' is not possible due to network or security-related problems Review prerequisites
❌ Error Error threshold is breached More Ready to run instances exist than allowed by the Error threshold Details
Edit thresholds
⚠️ Warning Warning threshold is breached More Ready to run instances exist than allowed by the Warning threshold Details
Edit thresholds
✅ OK Within user-defined thresholds Number of Ready to run instances are within user-defined thresholds Details
Edit thresholds

Tip

You can reconfigure the evaluated state using the Expected State feature on every Resource within Nodinite. For example, batch processing applications with predictable nightly queue spikes can expect Warning states during processing windows without generating false alarms.


Actions

When Ready to Run instances accumulate beyond thresholds or instances wait in queues longer than expected, immediate investigation is required to prevent processing backlogs and SLA violations. Nodinite provides Remote Actions for rapid queue diagnostics.

These actions enable operations teams to view queued instances and identify bottleneck sources without accessing BizTalk servers directly. All actions are audit logged for compliance tracking.

Available Actions for Ready to Run Instances

The following Remote Actions are available for the Ready to run instance(s) Category:

Action menu of a Ready to run instance(s) Resource with Manage ready to run instances, Edit thresholds and Suspend all under Control Center (7.12)
The Action menu of a 'Ready to run instance(s)' Resource in the Web Client; the three Remote Actions are under Control Center.

There is no Resume here: Resume belongs to Suspended instances.

Manage ready to run instances

When alerts indicate excessive Ready to Run instances or prolonged queue wait times, the Manage Ready to run instance(s) dialog lists the queued messaging instances of the BizTalk Application, without requiring Group Hub page access. The agent counts messaging instances in the state Ready To Run here; orchestration instances that are ready to run are counted separately.

What You Can See

  • A summary on top: the number of instances, how long ago the oldest was created, and the page shown
  • Service Name and Creation Time of each instance; click Creation Time to switch between newest and oldest first
  • Duration – how long the instance has existed (what the time thresholds measure)
  • Page sizes 25, 50, and 100, and a Filter on service name box
  • Error Code, Error Description, and Pending Job appear only when an instance has a value; BizTalk reports none of them for a Ready to Run instance, so they don't show here
  • The chevron Show details button left of Action expands the instance's Details: Instance Id, Status, Creation Time, Service Class, Server, Host Name, Adapter, Service, and Service URI
  • Suspend and Terminate per instance, each confirmed with Execute action?, and With selected to suspend the checked instances together

When to Use This View

  • Bottleneck diagnosis – Identify which orchestrations or message types are accumulating in queues
  • Capacity planning – Determine if specific services need dedicated host instances or more resources
  • Throttling investigation – Verify if instances are queued due to BizTalk throttling conditions
  • Host instance health checks – Confirm queues clear properly after host recycling
  • SLA monitoring – Track how long critical messages wait before processing begins
  • Performance tuning – Identify inefficient orchestrations or pipelines consuming excessive thread time

Common Diagnostic Patterns

  • Single service type dominates – One orchestration or adapter consuming all threads → needs isolated host or optimization
  • All host instances queued – System-wide resource constraint (CPU, memory, database) → infrastructure scaling required
  • Specific message types stuck – Routing or subscription issues preventing message delivery → configuration error
  • Cyclical queue spikes – Predictable batch processing patterns → adjust thresholds or schedule batch windows
  • Queues never clear – Arrival rate permanently exceeds processing capacity → add host instances or optimize code

Tip

Compare Ready to Run counts across multiple BizTalk Applications. If only one application shows high queues, the bottleneck is likely application-specific (inefficient code, slow backend). If all applications are queued, the bottleneck is infrastructure-level (server CPU, database, network).

To open the list, press the Action button and select Manage ready to run instances (see the menu above), then click Refresh to read the current instances again:

Manage Ready to run instance(s) dialog for INT001 Orders: 0 instances, the pager, the Filter on service name box, page sizes 25, 50 and 100, and the columns Service Name, Creation Time and Duration (7.12)
The Manage Ready to run instance(s) dialog for the BizTalk Application 'INT001: Orders', here with no queued instances.

Suspend all

Suspend all suspends every Ready to Run instance of the BizTalk Application in one go, for example to stop a flood of queued messages while you fix the cause. Nodinite asks you to confirm with Execute action? first, and the action is audit logged. Resume the instances later from Suspended instances.

Edit thresholds

Ready to Run instance monitoring uses dual-threshold evaluation—both count-based (queue depth) and time-based (queue wait duration)—to detect different bottleneck patterns. This comprehensive approach enables detection of both capacity exhaustion (high counts) and thread starvation (long wait times).

When to Adjust Thresholds

Count Thresholds (Queue Depth)
  • After infrastructure changes – More host instances, faster servers, database optimization → increase thresholds
  • Following application optimization – Faster orchestrations, streamlined pipelines → lower thresholds appropriate
  • For batch processing windows – Predictable nightly spikes require higher thresholds during batch hours
  • Based on host instance configuration – More threads per host → can handle deeper queues before saturation
  • To match business SLAs – If 100-message queue clears in seconds, that may be acceptable for your SLA
Time Thresholds (Queue Wait Duration)
  • Based on message urgency – Real-time transactions (5-10 second threshold) vs. batch processing (5-10 minute threshold)
  • For SLA enforcement – Set Warning at 50% of SLA, Error at 80% of SLA to enable intervention before violations
  • After performance tuning – Faster processing → lower time thresholds to detect anomalies earlier
  • For different message types – EDI/B2B with tight SLAs need lower thresholds than internal reporting messages
  • During troubleshooting – Temporarily lower thresholds to increase alert sensitivity during investigations
Application-Specific vs. Global
  • Set global defaults for typical messaging-heavy applications with similar throughput
  • Configure per-application overrides for applications with unique patterns:
    • High-volume EDI processing (thousands queued = normal)
    • Low-volume orchestrations (10+ queued = problem)
    • Real-time API integrations (any queue >30 seconds = SLA risk)
    • Batch processing apps (spike during scheduled windows)
Threshold Tuning Methodology
  1. Establish baseline – Monitor queue depths and wait times during normal operations for 1-2 weeks
  2. Identify peak patterns – Note daily/weekly/monthly peaks (month-end processing, business hours vs. overnight)
  3. Set Warning thresholds – 20-30% above normal peak values to detect early anomalies
  4. Set Error thresholds – At capacity limits where host instances begin struggling (thread exhaustion, memory pressure)
  5. Account for growth – Add headroom for business volume increases (seasonal, acquisition, new customers)
  6. Validate with stakeholders – Confirm thresholds align with business SLAs and acceptable processing delays

Thresholds can be managed through the Actions menu or via Remote Configuration for bulk adjustments.

To manage the Ready to run instance(s) threshold for the selected BizTalk Application, press the Action button and select Edit thresholds. The Manage Monitoring Thresholds dialog has an Allowed Timespan card (Warning time span, Error time span) and a Message Count card (Warning count, Error count). Clicking Save gives this BizTalk Application its own thresholds; the other Applications keep the general thresholds from the Remote Configuration. The new thresholds apply at the next evaluation, typically within a minute. The Application keeps its own copy from then on, even when you save the same values as the general thresholds.

A badge next to the dialog's subtitle shows which thresholds apply: Global thresholds or This Application's thresholds. After Save, the dialog says Saved with the time, and a Reset to global button appears. Reset to global asks you to confirm with Execute action?, removes this Application's own thresholds, and the badge reads Global thresholds again.

Manage Monitoring Thresholds dialog for INT001 Orders with the Global thresholds badge, Allowed Timespan 1.00:00:00 and 2.00:00:00 and Message Count 2500 and 5000 (7.12)
The Manage Monitoring Thresholds dialog for 'Ready to run instance(s)'; the note above Save says that saving switches this Application to specific thresholds.

Time-based evaluation

Time-based evaluation detects instances stuck in queues longer than expected, indicating thread starvation, processing bottlenecks, or infrastructure resource constraints. Nodinite tracks how long each instance waits in Ready to Run state before thread assignment, triggering alerts when wait times exceed configured thresholds.

Setting both time spans to 00:00:00 turns the time check off; then only the count is evaluated. You can also set thresholds long enough to avoid false alerts (e.g., 24 hours for applications without strict SLAs), or use Expected State to accept Warning states as normal.

Why Time Thresholds Matter More Than Count

Queue count alone can be misleading—1000 instances queued for 2 seconds each (high throughput, healthy) is very different from 10 instances queued for 10 minutes each (severe bottleneck). Time thresholds detect actual processing delays impacting business SLAs.

Example Time Threshold Configurations
  • Real-time API integrations (sub-second SLAs): Warning 5 seconds, Error 15 seconds
  • B2B/EDI messaging (minutes-level SLAs): Warning 30 seconds, Error 2 minutes
  • Order processing orchestrations (5-minute SLA): Warning 2 minutes, Error 4 minutes
  • Batch file processing (hourly processing windows): Warning 10 minutes, Error 30 minutes
  • Reporting/analytics workflows (no strict SLA): Warning 30 minutes, Error 2 hours
Diagnostic Value of Time-Based Alerts
  • Sudden spike from seconds to minutes → Recent infrastructure change or new bottleneck introduced
  • Gradual increase over days/weeks → Growing message volumes or degrading backend system performance
  • Specific time windows → Daily pattern suggests resource contention (backups, batch jobs, business hours)
  • All applications affected → BizTalk infrastructure issue (server CPU, MessageBox database, network)
  • Single application → Application-specific problem (slow orchestration, inefficient pipeline, backend latency)

Warning

If instances wait in Ready to Run queues for minutes or hours, messages are not being processed. This directly impacts business operations—orders not fulfilled, invoices not sent, integrations not executing. Time-based alerts enable intervention before complete processing failure.

Tip

Set Warning thresholds at 50% of your SLA target, Error thresholds at 80% of SLA. This provides early warning for remediation before SLA violations occur. Example: 10-minute SLA → Warning 5 minutes, Error 8 minutes.

State Name Data Type Description
⚠️ Warning Warning time span Timespan, such as 1.00:00:00 (1 day) If any Ready to Run instance has been waiting in queue longer than this timespan, a Warning alert is raised. Format: days.hours:minutes:seconds (e.g., 0.00:05:00 = 5 minutes)
❌ Error Error time span Timespan, such as 2.00:00:00 (2 days) If any Ready to Run instance has been waiting in queue longer than this timespan, an Error alert is raised. Format: days.hours:minutes:seconds (e.g., 0.00:15:00 = 15 minutes)

Count-based evaluation

Count-based evaluation detects excessive queue depths, indicating message arrival rate exceeds processing capacity. High queue counts signal infrastructure bottlenecks, insufficient host instances, or resource saturation requiring capacity expansion.

What Queue Counts Reveal
  • 0-50 instances – Normal steady-state for most applications, healthy processing
  • 50-200 instances – Moderate load, monitor for clearing patterns
  • 200-500 instances – High load, investigate if sustained for >5 minutes
  • 500-1000 instances – Severe backlog, likely infrastructure constraint
  • 1000+ instances – Critical backlog, immediate intervention required to prevent host crashes

Note: High-volume applications (millions of messages/day) may have different baselines. Establish your application's normal patterns through historical monitoring.

How to Set Count Thresholds
  1. Measure processing capacity – Determine max sustained throughput (messages/second) your host instances can handle
  2. Calculate queue tolerance – If processing 100 msg/sec, a 500-message queue clears in 5 seconds (acceptable). Same queue at 10 msg/sec takes 50 seconds (problem).
  3. Set Warning threshold – At queue depth representing 30-60 seconds of processing backlog
  4. Set Error threshold – At queue depth representing 2-5 minutes of backlog or risk of host memory pressure
  5. Account for burst tolerance – Batch processing creates temporary spikes; thresholds should accommodate expected bursts
Example Count Threshold Configurations
  • Low-volume orchestrations (10-50 msg/hour): Warning 20, Error 50
  • Medium-volume messaging (500-1000 msg/hour): Warning 100, Error 300
  • High-volume EDI/B2B (5000-10000 msg/hour): Warning 500, Error 1500
  • Very high-volume integration hub (50000+ msg/hour): Warning 2000, Error 5000
  • Batch processing applications (overnight file drops): Warning 1000, Error 3000
Diagnostic Patterns from Queue Counts
  • Steady high count – Sustained processing capacity issue, need more host instances or optimization
  • Linearly increasing count – Arrival rate > processing rate, will eventually exhaust resources (add hosts urgently)
  • Cyclical spikes – Predictable patterns (business hours, batch windows) → adjust thresholds or schedule capacity
  • Sudden spike then gradual clear – Burst processing (healthy), ensure queue clears within acceptable time
  • Queue never clears – Fundamental capacity mismatch, infrastructure scaling required immediately

Warning

Sustained high queue counts (500+ for >10 minutes) risk:

  • BizTalk throttling – Host throttling state activated, further slowing processing
  • MessageBox bloat – Queue state stored in database, degrading query performance
  • Host instance crashes – Memory exhaustion from queued instance metadata
  • Cascading failures – Backpressure affects upstream systems, dependent applications

Tip

Capacity planning rule of thumb: When Warning threshold is breached regularly (>10% of time), plan infrastructure scaling within 30-60 days. When Error threshold is breached, scaling is needed immediately to prevent production incidents.

Infrastructure Scaling Options When Queues Accumulate
  1. Add host instances – Deploy additional instances of bottlenecked hosts across existing servers
  2. Add servers – Provision new BizTalk servers and distribute hosts
  3. Optimize code – Refactor slow orchestrations, pipelines, or custom components
  4. Isolate workloads – Move high-volume services to dedicated host instances
  5. Optimize MessageBox – Database maintenance, indexing, file group optimization
  6. Backend optimization – Improve downstream system performance to reduce processing time
  7. Implement throttling – Controlled rate limiting at message source to prevent overload
State Name Data Type Description
⚠️ Warning Warning count integer, such as 2500 If the total number of Ready to Run instances exceeds this value, a Warning alert is raised. Set at queue depth representing 30-60 seconds of processing backlog for early detection.
❌ Error Error count integer, such as 5000 If the total number of Ready to Run instances exceeds this value, an Error alert is raised. Set at critical queue depth indicating capacity exhaustion or risk of host instability.

Next Steps

Monitor Views
Configuration

BizTalk Monitoring Agent
Administration
Monitoring Agents