Broker holding the messages in the Memory for particular persistent client even if queue.max_length is specified. #841

Open
sanket-kulkarni-vmware opened this Issue Jan 1, 2017 · 0 comments

Projects

None yet

2 participants

@sanket-kulkarni-vmware
sanket-kulkarni-vmware commented Jan 1, 2017 edited

Environment

  • OS: Ubuntu 16.04 LTS
  • Erlang/OTP: 19
  • EMQ: 2.0.4

I am keeping the queue max length as 1000, even though broker is keeping all the messages in the memory for the particular persistent client when it disconnects and eventually broker gets crashed because of memory exhaustion.

Following is the configuration options I am setting in the file.
mqtt.queue.max_length = 1000

Do I need to specify the other configuration options also in the config file to work this functionality?

@sanket-kulkarni-vmware sanket-kulkarni-vmware changed the title from Broker Holding the messages in the Memory for particular persistent client even if queue.max_length is specified. to Broker holding the messages in the Memory for particular persistent client even if queue.max_length is specified. Jan 1, 2017
@emqplus emqplus self-assigned this Jan 3, 2017
@emqplus emqplus added the Discussion label Jan 3, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment