High watermark

Memory alarm

  • Cause: memory exceeds vm_memory_high_watermark.
  • Effect: RabbitMQ blocks producers before the operating system kills the node.
  • Default: 0.4 in 3.13, 0.6 in 4.x, as a fraction of detected RAM; use an absolute value in containers.
vm_memory_high_watermark.absolute = 4Gi

Disk alarm

  • Cause: free data-disk space falls below disk_free_limit.
  • Effect: RabbitMQ blocks producers before the disk fills and broker writes fail.
  • Default: 50 MB; size the production limit from disk consumption and recovery time. The example uses 10 GB.
disk_free_limit.absolute = 10GB

What happens

  • Producers become blocked on every cluster node.
  • Consumer-only connections continue draining queues, and publishing resumes after the alarm clears.
  • A sustained alarm delays publishing until client operations time out or fail.

Change at runtime

rabbitmqctl set_vm_memory_high_watermark absolute "4G"
rabbitmqctl set_disk_free_limit 10GB

rabbitmqctl values last until restart; persist the same values in rabbitmq.conf.