Discussion:
[rabbitmq-users] Can a RabbitMQ Queue Get "full"/overflow?
Eric Feigenson
2015-07-30 15:32:50 UTC
Permalink
I'm new to RabbitMQ, and was wondering: In the course of operation, can a
queue get "full" or overflow? I haven't seen any mention of maximum queue
sizes, or what happens if there's no room available in a queue that your
publishing to (if that can even happen).

If a queue *can* get full, is there a way for a publisher/consumer to
detect this?

Thanks!

-Eric
--
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-users+***@googlegroups.com.
To post to this group, send an email to rabbitmq-***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Michael Klishin
2015-07-30 15:37:43 UTC
Permalink
There is a fixed RAM cost per message but it can be eliminated with a plugin.

There are resource-driven alarms that lead to publisher throttling. See rabbitmq.com/alarms.html.

MK
I'm new to RabbitMQ, and was wondering: In the course of operation, can a queue get "full" or overflow? I haven't seen any mention of maximum queue sizes, or what happens if there's no room available in a queue that your publishing to (if that can even happen).
If a queue can get full, is there a way for a publisher/consumer to detect this?
Thanks!
-Eric
--
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-users+***@googlegroups.com.
To post to this group, send an email to rabbitmq-***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Derick Bailey
2015-07-30 15:41:42 UTC
Permalink
oops - meant to post this to the group, not to eric directly. (see my post below)

also forgot to add that you can use a dead letter exchange for when messages exceed the limit: https://www.rabbitmq.com/dlx.html

  - Derick


From: Derick Bailey <***@gmail.com>
Reply: Derick Bailey <***@gmail.com>>
Date: July 30, 2015 at 10:38:59 AM
To: Eric Feigenson <***@editshare.com>>
Subject:  Re: [rabbitmq-users] Can a RabbitMQ Queue Get "full"/overflow?

Hi Eric,

The default queue settings don't really have a limit on the number of messages. It has more to do with the size of memory and / or hard drive space on the server.

you can set a a queue limit to create a limit, though. this is the maximum number of messages (or bytes) allowed in a queue. when the limit is reached, old messages a dropped to make room for the new messages. see https://www.rabbitmq.com/maxlength.html

  - Derick


From: Eric Feigenson <***@editshare.com>
Reply: Eric Feigenson <***@editshare.com>>
Date: July 30, 2015 at 10:32:53 AM
To: rabbitmq-users <rabbitmq-***@googlegroups.com>>
Subject:  [rabbitmq-users] Can a RabbitMQ Queue Get "full"/overflow?

I'm new to RabbitMQ, and was wondering: In the course of operation, can a queue get "full" or overflow? I haven't seen any mention of maximum queue sizes, or what happens if there's no room available in a queue that your publishing to (if that can even happen).

If a queue can get full, is there a way for a publisher/consumer to detect this?

Thanks!

-Eric
--
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-users+***@googlegroups.com.
To post to this group, send email to rabbitmq-***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-users+***@googlegroups.com.
To post to this group, send an email to rabbitmq-***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...