Replies: 10 comments 15 replies
-
It's not clear to me how this is relevant to this repo since you use "a Debian container" and this repo is an Erlang RPM. We do not guess in this community. |
Beta Was this translation helpful? Give feedback.
-
Packages and OS information first:
Then memory information (thanks for information how to gather them):
That 1.6GB for 'other_system' bothers me. On Debian/stable it looks different:
|
Beta Was this translation helpful? Give feedback.
-
Prometheus and Grafana have a way of retrieving memory allocator metrics. As would
This is a great question for the There is nothing particularly creative about this RPM package, e.g. we do not change any defaults. |
Beta Was this translation helpful? Give feedback.
-
It feels wider problem :( As long as CentOS Stream 9 is host Erlang/rmq will eat ~1.6GB ram. Nevermind do I run:
:( |
Beta Was this translation helpful? Give feedback.
-
@hrw I can't reproduce what you report using the docker image of CentOS 9 Stream. Please see my repository for how I tried to reproduce what you report: https://github.com/lukebakken/rabbitmq-erlang-rpm-104 NOTE: I am NOT using the Without a way to reproduce we can't assist further. |
Beta Was this translation helpful? Give feedback.
-
It feels that the problem is not inside of container. If I run the same CS9 container on Debian host then 0.2GB ram is used. I get ~1.6GB ram in use when I run:
When I run same containers on Debian host then 0.2GB ram is used. |
Beta Was this translation helpful? Give feedback.
-
I cannot reproduce. Using the latest Stream 9 with the 5.14 64-bit kernel:
and RabbitMQ 3.10.7 installed with Erlang 25.0.2 from our Cloudsmith repositories using sudo dnf install rabbitmq-server -y I get
|
Beta Was this translation helpful? Give feedback.
-
I am on vacations to the end of month. Will get back to the problem in September. |
Beta Was this translation helpful? Give feedback.
-
So, let me add some things to that:
ps output:
Log attached |
Beta Was this translation helpful? Give feedback.
-
@mnasiadka see these items: rabbitmq/cluster-operator#959 (comment) There is a chance that the maximum number of file descriptors available to the Erlang VM is very high, in which case the VM will request a large amount of memory. While RabbitMQ is running and consuming this memory, please run this command on the same VM:
|
Beta Was this translation helpful? Give feedback.
-
We use RabbitMQ in OpenStack Kolla based deployments.
When RMQ 3.9.21 is started in Debian/stable based container it uses ~140MB ram for "/usr/lib/erlang/erts-12.2.1/bin/beam.smp" process.
When same version is started in CentOS Stream 9 container (using "el/8" packages from PackageCloud) then "beam.smp" takes ~1.6GB ram.
Any idea what causes such difference? It makes our CI nodes OOM (on 8GB ram) so we are unable to check how deployment works on CS9.
Beta Was this translation helpful? Give feedback.
All reactions