Vernemq broker automatically stopped by erlang frequently

44 views
Skip to first unread message

Thayaruban Thayalan

unread,
Nov 8, 2023, 12:37:03 AM11/8/23
to vernemq-users
When i am running the broker,it is actively running for sometime and After sometime it says erlang closed the connection and not able to connect to the broker.Can someone help me solving this issue.

erlang.async_threads = 64
erlang.max_ports = 262144
leveldb.maximum_memory.percent = 70

Are these configurations in vernemq.conf has to do anything with this?

André Fatton

unread,
Nov 8, 2023, 2:28:45 AM11/8/23
to vernemq-users
Hi,
you can lower maximum_memory.percent to 20. This will give more memory to Erlang processes in comparison to LevelDB.
The other configurations you mention are not related.

The issue is unclear, though. You mention that the "broker is automatically stopped" frequently but also that it is a connection issue?
Best,
André

Thayaruban Thayalan

unread,
Nov 8, 2023, 2:46:05 AM11/8/23
to vernemq-users
WhatsApp Image 2023-11-08 at 13.06.31_75e8027c.jpg
Thanks Andre,I have attached the screenshot.So that you can get a better understanding regarding the issue

André Fatton

unread,
Nov 8, 2023, 5:21:39 AM11/8/23
to vernemq-users
Hi,
please ensure the broker has enough memory (if you don't know how much, start with a couple of GB), as it might get OOM'ed by Linux here.
Best,
A.
Reply all
Reply to author
Forward
0 new messages