activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Posta <christian.po...@gmail.com>
Subject Re: Query around ActiveMQ.DLQ
Date Fri, 26 Apr 2013 22:49:38 GMT
Where are you seeing that a queue has default memory limit of 64MB?
If you don't change the broker system usage limits, then the memory limits
for the entire broker is 64MB. This means all queues fall under this 64MB
limit. If you don't consume from your DLQ, they will use up broker
resources and potentially cause producer flow control on other
destinations, which is probably what you're seeing.


On Fri, Apr 26, 2013 at 11:12 AM, deepak_a <angeshwar@gmail.com> wrote:

> All,
>
> I am facing the following incident -
> Architecture setup: ActiveMQ running in JBoss; Camel used as MessageBus
>
> 1. High volume of messages are published to a Queue
> 2. My application consumes them and if they fail validation they are
> DeQueued (goes to ActiveMQ.DLQ)
> 3. I can also see the messages persisted in the Database
> (Table: activemq_MSGS; container: ActiveMQ.DLQ)
> 4. I notice that 64MB is default Queue size
> 5. Once the size of messages in  ActiveMQ.DLQ crosses 64MB, I notice that
> my
> Camel routes are frozen (unable to publish any more messages to Queues)
>
> To replicate this I set the following in my broker-config.xml
>
>           <systemUsage>
>             <systemUsage>
>                 <memoryUsage>
>                     <memoryUsage limit="1 kb"/>
>                 </memoryUsage>
>                 <storeUsage>
>                     <storeUsage limit="1 mb"/>
>                 </storeUsage>
>                 <tempUsage>
>                     <tempUsage limit="1 mb"/>
>                 </tempUsage>
>             </systemUsage>
>         </systemUsage>
>
> and i can see the same above scenario occuring.
>
> Does this mean  -
> (1) activeMQ expects enough free-memory-space in the DLQ before any
> publisher can publish to a Queue?
> (2) is the expectation that I tactically clear the DeQueued messages at
> regular intervals?
> (3) The 64MB size is specific for each Queue - but since ActiveMQ.DLQ is
> generic/global queue that holds all rejected messages - its size should
> always be < 64MB for other Queues to receive messages?
>
> Would appreciate if some one can clarify my queries.
>
> regards
> D
>
>
>
>
> --
> View this message in context:
> http://activemq.2283324.n4.nabble.com/Query-around-ActiveMQ-DLQ-tp4666277.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>



-- 
*Christian Posta*
http://www.christianposta.com/blog
twitter: @christianposta

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message