Skip to content

vm_memory_high_watermark.relative is not aware of cgroups limits of the container on Kubernetes #10975

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

You must be logged in to vote

This is not a bug in RabbitMQ, and has been discussed many times before.

vm_memory_high_watermark.relative is not aware of anything Kubernetes-related. Its behavior completely depends on whether the runtime can determine the cgroups-capped value, and there are many factors that affect that, including the version of Kubernetes, the image OS, whether cgroups v2 are enabled, and so on.

Use vm_memory_high_watermark.absolute, which starting with 3.13.x even supports the same information unit suffixes as Kubernetes.

The list of Kubernetes-specific memory footprint and monitoring issues does not end there, in particular for clusters where streams and super streams are used.

Replies: 2 comments 2 replies

Comment options

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

Answer selected by michaelklishin
Comment options

You must be logged in to vote
1 reply
@luarx
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 #10975 on April 11, 2024 21:35.