You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by Evan <ev...@163.com> on 2014/06/03 10:10:13 UTC
Usage Manager memory limit (104857600) reached for a topic
Hi,
I got following message:
INFO | jvm 1 | 2014/05/13 07:02:39 | INFO | TopicSubscription:
consumer=ID:JSANDS-PC3-53028-1399897473907-0:0:1:1, destinations=1,
dispatched=32766, delivered=0, matched=30386, discarded=0: Pending message
cursor
[org.apache.activemq.broker.region.cursors.VMPendingMessageCursor@e00788] is
full, temp usage (0%) or memory usage (100%) limit reached, blocking message
add() pending the release of resources.
INFO | jvm 1 | 2014/05/13 07:02:39 | INFO | Usage Manager memory limit
(104857600) reached for topic://BROADCAST_MESSAGING_TOPICFTPCAPP01.
Producers will be throttled to the rate at which messages are removed from
this destination to prevent flooding it. See
http://activemq.apache.org/producer-flow-control.html for more info
INFO | jvm 1 | 2014/05/13 07:02:40 | INFO | Usage Manager memory limit
reached. Stopping producer (ID:FTPCSOS01-51636-1399733296121-0:0:1:1) to
prevent flooding topic://BROADCAST_MESSAGING_TOPICFTPCAPP01. See
http://activemq.apache.org/producer-flow-control.html for more info
(blocking for: 1s)
INFO | jvm 1 | 2014/05/13 07:02:41 | INFO | Usage Manager memory limit
reached. Stopping producer (ID:PTS10-60482-1399733597139-0:0:1:1) to prevent
flooding topic://BROADCAST_MESSAGING_TOPICFTPCAPP01. See
http://activemq.apache.org/producer-flow-control.html for more info
(blocking for: 1s)
Following are my configuration:
<destinationPolicy>
<policyMap>
<policyEntries>
<policyEntry topic=">" producerFlowControl="true"
memoryLimit="1mb">
<pendingSubscriberPolicy>
<vmCursor />
</pendingSubscriberPolicy>
</policyEntry>
<policyEntry queue=">" producerFlowControl="true"
memoryLimit="1mb">
</policyEntry>
</policyEntries>
</policyMap>
</destinationPolicy>
Someone can help me to explain why it happens?
Thanks.
--
View this message in context: http://activemq.2283324.n4.nabble.com/Usage-Manager-memory-limit-104857600-reached-for-a-topic-tp4681594.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
Re: Usage Manager memory limit (104857600) reached for a topic
Posted by Evan <ev...@163.com>.
Hi,
Is that an issue?
And what is the impact about that?
Could you help me?
Thanks.
--
View this message in context: http://activemq.2283324.n4.nabble.com/Usage-Manager-memory-limit-104857600-reached-for-a-topic-tp4681594p4681699.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
Re: Usage Manager memory limit (104857600) reached for a topic
Posted by Christian Posta <ch...@gmail.com>.
Your consumers are slow and you're trying to store everything in memory.
Check here for more info:
http://activemq.apache.org/producer-flow-control.html
I've written in depth about what the memory management piece do here:
http://www.christianposta.com/blog/?p=273
On Tue, Jun 3, 2014 at 1:10 AM, Evan <ev...@163.com> wrote:
> Hi,
>
> I got following message:
>
> INFO | jvm 1 | 2014/05/13 07:02:39 | INFO | TopicSubscription:
> consumer=ID:JSANDS-PC3-53028-1399897473907-0:0:1:1, destinations=1,
> dispatched=32766, delivered=0, matched=30386, discarded=0: Pending message
> cursor
> [org.apache.activemq.broker.region.cursors.VMPendingMessageCursor@e00788]
> is
> full, temp usage (0%) or memory usage (100%) limit reached, blocking
> message
> add() pending the release of resources.
> INFO | jvm 1 | 2014/05/13 07:02:39 | INFO | Usage Manager memory
> limit
> (104857600) reached for topic://BROADCAST_MESSAGING_TOPICFTPCAPP01.
> Producers will be throttled to the rate at which messages are removed from
> this destination to prevent flooding it. See
> http://activemq.apache.org/producer-flow-control.html for more info
> INFO | jvm 1 | 2014/05/13 07:02:40 | INFO | Usage Manager memory
> limit
> reached. Stopping producer (ID:FTPCSOS01-51636-1399733296121-0:0:1:1) to
> prevent flooding topic://BROADCAST_MESSAGING_TOPICFTPCAPP01. See
> http://activemq.apache.org/producer-flow-control.html for more info
> (blocking for: 1s)
> INFO | jvm 1 | 2014/05/13 07:02:41 | INFO | Usage Manager memory
> limit
> reached. Stopping producer (ID:PTS10-60482-1399733597139-0:0:1:1) to
> prevent
> flooding topic://BROADCAST_MESSAGING_TOPICFTPCAPP01. See
> http://activemq.apache.org/producer-flow-control.html for more info
> (blocking for: 1s)
>
> Following are my configuration:
>
>
> <destinationPolicy>
> <policyMap>
> <policyEntries>
> <policyEntry topic=">" producerFlowControl="true"
> memoryLimit="1mb">
> <pendingSubscriberPolicy>
> <vmCursor />
> </pendingSubscriberPolicy>
> </policyEntry>
> <policyEntry queue=">" producerFlowControl="true"
> memoryLimit="1mb">
>
> </policyEntry>
> </policyEntries>
> </policyMap>
> </destinationPolicy>
>
> Someone can help me to explain why it happens?
>
> Thanks.
>
>
>
>
>
> --
> View this message in context:
> http://activemq.2283324.n4.nabble.com/Usage-Manager-memory-limit-104857600-reached-for-a-topic-tp4681594.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>
--
*Christian Posta*
http://www.christianposta.com/blog
twitter: @christianposta