Bird
0
0

How can you combine disk and memory alarm settings to prevent RabbitMQ from blocking message publishing prematurely on a server with limited resources?

hard📝 Application Q9 of 15
RabbitMQ - Performance Tuning
How can you combine disk and memory alarm settings to prevent RabbitMQ from blocking message publishing prematurely on a server with limited resources?
ASet vm_memory_high_watermark.absolute and disk_free_limit.absolute to safe lower values
BSet vm_memory_high_watermark.absolute high and disk_free_limit.absolute low
CSet vm_memory_high_watermark.absolute low and disk_free_limit.absolute high
DDisable both alarms to avoid blocking
Step-by-Step Solution
Solution:
  1. Step 1: Understand alarm thresholds effect

    Higher vm_memory_high_watermark.absolute allows more memory usage before alarm (triggers later); lower disk_free_limit.absolute triggers only when free space is critically low (triggers later).
  2. Step 2: Prevent premature blocking

    Set vm_memory_high_watermark.absolute high (allow more memory use) and disk_free_limit.absolute low (block only when disk really low).
  3. Final Answer:

    Set vm_memory_high_watermark.absolute high and disk_free_limit.absolute low -> Option B
  4. Quick Check:

    Memory high, disk low prevents premature blocking [OK]
Quick Trick: Balance thresholds: memory high, disk low to avoid early blocks [OK]
Common Mistakes:
MISTAKES
  • Disabling alarms completely
  • Setting both thresholds too low

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More RabbitMQ Quizzes