Activity log for bug #1908043

Date Who What changed Old value New value Message
2020-12-14 09:26:41 Trent Lloyd bug added bug
2020-12-14 09:27:45 Trent Lloyd description RabbitMQ by default allows itself to use up to 40% of installed RAM, based on the default setting vm_memory_high_watermark.relative (0.4 = 40%). Once that watermark is hit, it attempts to free RAM by flushing messages to disk instead of RAM (while blocking clients). Various details of this are explained here: https://www.rabbitmq.com/memory.html On our current deployments memory is not limited, and RabbitMQ takes this value from the full amount of host RAM - so tries to use up to 40% of 256GB/512GB/768GB. It also does not take HugePages into account, so even if 90% of RAM is permanently allocated to hugepages it does not reduce it's configuration. The charm should expose and configure a better default watermark based on vm_memory_high_watermark.absolute instead set to some kind of sensible value which should be determined, some number of GB. We could also consider whether RabbitMQ will see and respect an LXD memory limit or if not try to have the charm detect such a limit. RabbitMQ by default allows itself to use up to 40% of installed RAM, based on the default setting vm_memory_high_watermark.relative (0.4 = 40%). Once that watermark is hit, it attempts to free RAM by flushing messages to disk instead of RAM (while blocking clients). Various details of this are explained here: https://www.rabbitmq.com/memory.html On our current deployments memory is not limited, and RabbitMQ takes this value from the full amount of host RAM - so tries to use up to 40% of 256GB/512GB/768GB. It also does not take HugePages into account, so even if 90% of RAM is permanently allocated to hugepages it does not reduce it's configuration. The charm should expose and configure a better default watermark based on vm_memory_high_watermark.absolute instead (which is configured in MB) to some kind of sensible value which should be determined. We could also consider whether RabbitMQ will see and respect an LXD memory limit or if not try to have the charm detect such a limit although those are not currently set in standard deployments either.
2020-12-14 09:28:32 Trent Lloyd tags sts
2020-12-14 10:39:08 Hua Zhang bug added subscriber Hua Zhang
2021-02-09 08:52:53 Dominique Poulain bug added subscriber Dominique Poulain