Skip to content

When configuring disk_free_limit.absolute using KB, MB, or GB as units for the limit.absolute parameter, the final result after starting rabbitmq is incorrect #9780

Closed Answered by michaelklishin
charlienss asked this question in Other
Discussion options

You must be logged in to vote

You do not specify how exactly you verify what the configured value is.

We do not guess in this community but this one time I will: the discrepancy very likely comes down to the difference between the units and rounding behaviors used by various tools: mebibytes vs. megabytes, for example.

RabbitMQ does not do anything particularly creative when it comes to computing the value in bytes.

This difference won't matter in practice, and in particular it won't matter when more reasonable free disk space watermark values are used (such as 1 GiB or 1 GB). 50 MiB is about as good as not having any watermark, in particular with modern features like quorum queues and streams.

The reason why it is st…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by michaelklishin
Comment options

You must be logged in to vote
1 reply
@charlienss
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #9780 on October 25, 2023 08:39.