High memory consumption (and message queue) in mqtt_node

149 views
Skip to first unread message

jo...@cloudamqp.com

unread,
Dec 14, 2020, 10:57:27 AM12/14/20
to rabbitmq-users
1-node, RabbitMQ 3.8.9, Erlang 22.2.7, "Internet of Things scenario" with many connections (50-60k), 50k queues, about 2-3k messages/s. After a few days or weeks of operation the node runs out of memory and restarts.

Almost all memory is used up by "mqtt_node" (see screenshot from rabbitmq-diagnostics observer). That PID also has quite a large internal queue.

We will try to replicate and submit an issue, but
a) known issue?
b) possible to restart the connection tracking without restarting RabbitMQ?

/Johan
mqtt_node_msg_inbox_memory.png
mqtt_node_overview.png

kjnilsson

unread,
Dec 17, 2020, 4:37:54 PM12/17/20
to rabbitmq-users
Looks like something is crashing. What's in the crash log?

jo...@cloudamqp.com

unread,
Dec 18, 2020, 4:48:46 PM12/18/20
to rabbitmq-users
For the record (if you for instance stumble on this via a search engine at a later point) the discussion has moved to: https://github.com/rabbitmq/rabbitmq-server/discussions/2688
Reply all
Reply to author
Forward
0 new messages