broker: limit total queued messages, not just per client
Bug #1138048 reported by
Karl Palsson
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mosquitto |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Currently (1.1.x) mosquitto broker allows configuration of the maximum number of outstanding messages that are queued per client. For resource constrained systems, this is not really good enough, as there's no way to limit the number of clients. Further, there's no way to control the size of messages. (500 queued 2 byte messages are pretty cheap, 500 queued 1meg messages are not at all cheap)
Ideally, we would be able to limit the total amount of memory used for storing queued messages.
Alternatively, or even better for some users perhaps, would be to limit the total number of messages for the entire broker, not just the number of messages per client.
Changed in mosquitto: | |
status: | New → Confirmed |
To post a comment you must log in.
You can limit clients with "max_connections" by the way. Other points are valid.