Skip to content
lfm.sys SysAdmin & Backend Developer Contact
← back to case files
P1 case_file

RabbitMQ Backlog and Controlled Message Flush

Recovering a stuck messaging node under resource pressure

Status

Documented

Timeframe

Production incident — recovery time not documented

Environment

Production RabbitMQ cluster

RabbitMQ Linux Incident Response Observability

Context

Consumers connected to a production RabbitMQ cluster were not processing messages fast enough. The backlog grew and the affected node became stuck under resource pressure.

Problem

The queue continued accumulating messages while the responsible team was unable to bring the consumers back up. The situation risked exhausting the machine's resources and resulted in message loss.

My role

Investigated the affected messaging component, coordinated the recovery path and helped contain the resource pressure while waiting for the consumers to become available.

Technical actions

  1. [01] Identified the growing backlog and the stuck RabbitMQ node.
  2. [02] Coordinated with the responsible team while consumers were unavailable.
  3. [03] Performed a manual flush of the queued messages through the message-management operation.
  4. [04] Accepted the loss of queued messages as the containment trade-off to prevent a more severe machine failure.
  5. [05] Confirmed that consumers could drain new messages once they were available again.
  6. [06] Promoted the related log-rotation configuration change to production.

Operational impact

The manual flush discarded queued messages but prevented the stuck node from continuing toward a more severe resource-exhaustion condition. The exact recovery time is not documented.

Evidence

  • [✓] Backlog growth and stuck-node behavior drove the containment decision.
  • [✓] The related log-rotation improvement reached production.

What this demonstrates

  • Incident response under dependency constraints.
  • Explicit trade-off analysis during resource pressure.
  • Preventive follow-up after recovery.

Why this matters

Messaging incidents require balancing durability, recovery and host safety. This case makes the trade-off explicit instead of hiding the loss of queued messages behind a generic “resolved” status.