-
Notifications
You must be signed in to change notification settings - Fork 114
Process memory reporting uses Erlang memory estimates by default #232
Comments
Thank you for your time. Team RabbitMQ uses GitHub issues for specific actionable items engineers can work on. This assumes two things:
We get at least a dozen of questions through various venues every single day, often quite light on details. Getting all the details necessary to reproduce an issue, make a conclusion or even form a hypothesis about what's happening can take a fair amount of time. Our team is multiple orders of magnitude smaller than the RabbitMQ community. Please help others help you by providing a way to reproduce the behavior you're
Feel free to edit out hostnames and other potentially sensitive information. When/if we have enough details and evidence we'd be happy to file a new issue. Thank you. |
The defaults are set in rabbitmq-server (via the
|
Also:
So either #227 takes care of that on top of other things or I don't understand how to reproduce the issue. |
@michaelklishin I'm happy to provide steps to reproduce this but is that better suited for the mailing list? I'm a little confused because I was told to open an issue here. |
Yes. When/if we have enough details and conclude it is something that should be fixed, we will either update this issue or file a new one. Our snapshot builds are currently not produced for unrelated reasons, so I don't think there is a snapshot that includes #227 but we can test the steps against a node running from source. |
This bug report is for version 3.6.12 of rabbitmq-server/rabbitmq-common.
This information was gathered using
rabbitmqctl eval
on the same RabbitMQ test server that showed performance issues under load.There seems to be an issue in
vm_memory_monitor:get_process_memory()
where it actually reportserlang:memory(total)
if the config optionvm_memory_calculation_strategy
is unset. As soon as this config option is set, theget_process_memory()
function begins to report consistently withget_ps_memory()
. Howeverrabbitmqctl status
does report thatvm_memory_calculation_strategy
is set torss
even when unset which is the default behavior but not consistent with the memory reporting values. In my glance at the code, this seems to mean that it is falling back on Erlang due to aps
output parsing issue but cannot verify this due to the function not being exported to the main application. Please let me know if you need any more information or would like me to test anything else.The text was updated successfully, but these errors were encountered: