mqtt – Is nats-server memory usage normal?
I deployed nats-server mainly to receive MQTT messages reported by the device, but its memory usage is rising every day and can only be solved by restarting regularly. I want to know the cause of the problem and solve it.
I used http://127.0.0.1:8222/connz and observed that the number of connections was about 3000:

The memory usage has reached 8.3g. This is the information obtained using nats-top:

I found a similar issue on GitHub, but I’m not sure it’s the same as mine.
Read more here: Source link
