activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yatir Ben Shlomo <>
Subject question: unexplained 1000 pending messages on a virtual topic
Date Mon, 15 Nov 2010 07:46:21 GMT
We have a multi-broker setup of AMQ 5.4.0 running on linux machines, under jetty.
On a certain virtual topic - let's call it VirtualTopic.V - we have a few Consuming Queues
One of these Queues - let's call it Consumer.C.VirtualTopic.V - has 25 Active consumer attached
to it (each one is a different JVM process)
The queue is working extensively and ~800-1500 messages are being consumed every second.
But I noticed that there is a constant number of 1000 pending messages in this queue.
The thing that strikes me is that these pending messages remain constant, they are never consumed,
they seem to be stuck there forever.
I tried deleting this Queue but once the queue is recreated within  seconds it grows back
to 1000 pending messages which again remain constant, stuck there forever.
I also tried restarting the amq service but again -it just grew back to 100 constant messages
Any ideas ?

Here is our amq configuration

<broker xmlns="" brokerName="amq" dataDirectory="${activemq.base}/data">

        <!-- Now configure the rest of the desired broker behavior -->

        <!-- Destination specific policies using destination names or wildcards -->
                    <policyEntry queue=">" producerFlowControl="true" memoryLimit="50mb">
                          <individualDeadLetterStrategy queuePrefix="DLQ." useQueueForQueueMessages="true"
                    <policyEntry topic=">" producerFlowControl="true" memoryLimit="50mb">

        <!-- Use the following to configure how ActiveMQ is exposed in JMX -->
            <managementContext createConnector="true" connectorPort="1099"/>

                <!-- First let's configure connectors -->

                         The store and forward broker networks ActiveMQ will listen to
                                     Create a duplex connector to the first broker
            <networkConnector dynamicOnly="true" networkTTL="6" name="lapool1" uri="static://(tcp://amq1:61616,tcp://amq2:61616)">
                    <queue physicalName="com.outbrain.imagefetcher.download_request_queue"/>
                    <queue physicalName="Consumer.nydc1.>"/>
                                    <queue physicalName="Consumer.*.VirtualTopic.>"/>

            <amqPersistenceAdapter syncOnWrite="false" directory="${activemq.base}/data/broker-data"
maxFileLength="20 mb"/>

        <!--  The maximum amount of space the broker will use before slowing down producers
                    <memoryUsage limit="3 gb"/>
                    <storeUsage limit="1 gb" name="foo"/>
                    <tempUsage limit="10 gb"/>

         <!-- The transport connectors ActiveMQ will listen to -->
            <transportConnector name="openwire" uri="tcp://"/>


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