Convert Ahead (P2) - Queue Backlog Threshold Exceeded

Description

This alert is triggered when the message backlog in the Convert Ahead (P2) ConversionAgent and ConversionCompleteAgent queues exceeds 1,000 messages for more than 10 minutes, indicating potential processing delays.

Resolution Guidance

Impact When Active

  • A backlog in the Convert Ahead Conversion queue leads to slower or failed document rendering in the viewer, delaying review workflows.
  • Risk of further backlog accumulation if not addressed.

How To Resolve

  1. In RabbitMQ, locate the affected queues:
    • conversions_RP*_ConversionAgent_Priority2*
    • conversionresponses_ConversionCompleteAgent_Priority2* Confirm the message count is greater than 1,000 (the threshold) and observe whether the count is decreasing or increasing/static.
  2. Queues to check: ConversionAgent / ConversionCompleteAgent.
  3. Check the message count in each queue.
  4. Observe the trend:
    • Decreasing: Agents are actively processing messages.
    • Increasing or static: Agents may be stalled or underperforming.
  5. Check the status of the ConversionAgent / ConversionCompleteAgent in Relativity:
    • Log into Relativity
    • Go to the Agents tab
    • Filter by name containing 'conversion'
  6. Ensure RabbitMQ is running and healthy.
  7. After remediation, monitor the backlog until it falls below the threshold.

You can also try..

If the queue continues to remain backlogged. You can try following:

  • Restart the kCura services on the Conversion Agent servers.
  • Review system resources (CPU, memory, disk) on Conversion Agent and RabbitMQ hosts.

Alert Details

This alert monitors the message count of the Mass Convert (Priority 2) Conversion Agent and Conversion Complete Agent queues. It triggers if the backlog exceeds 1,000 messages for more than 10 minutes.

Alert Condition Details

NameValueDescription
Rule TypeMetric threshold
Data Viewmetrics-*
Filter Query((labels.rabbitmq_queue_name: conversions_RP*_ConversionAgent_Priority2* AND NOT labels.rabbitmq_queue_name: conversions_RP-_ConversionAgent_Priority2) OR labels.rabbitmq_queue_name: conversionresponses_ConversionCompleteAgent_Priority2* )Target both P2 conversion queues
AggregationmaxHighest queue depth within the time window
Group bylabels.rabbitmq_queue_nameEvaluate per queue
Threshold>= 1000Alert when queue depth exceeds 1,000
Time Window10 minutesEvaluate the last 10 minutes
Frequency2 minutesCheck every 2 minutes

Alert Metric Details

Metric Name: rabbitmq.message.current

Metric Description: The alert is true when a queue’s message count remains above 1,000 for the last 10 minutes.

Metric Attributes:

Attribute NameDescription
labels.rabbitmq_queue_nameThe name of the RabbitMQ queue
rabbitmq.message.currentCurrent number of messages in the queue
Return to top of the page
Feedback