activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jörn Kottmann (JIRA) <j...@apache.org>
Subject [jira] Commented: (AMQ-2564) Pure Master Slave broker hangs when storage limit is reached
Date Tue, 12 Jan 2010 16:51:48 GMT

    [ https://issues.apache.org/activemq/browse/AMQ-2564?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=56874#action_56874
] 

Jörn Kottmann commented on AMQ-2564:
------------------------------------

I repeated the test with the apache-activemq-5.4-SNAPSHOT build from Wed Jan 06 15:02:31 GMT+00:00
2010 (http time stamp on the download site).
The result was the same as described above.

After stopping the slave broker it was possible to dequeue messages again from the master
broker.

The 5.4-SNAPSHOT version prints out more information to the console:
 INFO | ActiveMQ JMS Message Broker (slave, ID:karkand-43612-1263314151269-1:0) started
 INFO | Usage Manager Store is Full. Producer (ID:karkand-58702-1263314161468-0:0:1:1) stopped
to prevent flooding queue://TestQueue. See http://activemq.apache.org/producer-flow-control.html
for more info (blocking for: 30s)
 INFO | Usage Manager Store is Full. Producer (ID:karkand-58702-1263314161468-0:0:1:1) stopped
to prevent flooding queue://TestQueue. See http://activemq.apache.org/producer-flow-control.html
for more info (blocking for: 60s)
 INFO | Usage Manager Store is Full. Producer (ID:karkand-58702-1263314161468-0:0:1:1) stopped
to prevent flooding queue://TestQueue. See http://activemq.apache.org/producer-flow-control.html
for more info (blocking for: 90s)
 INFO | Usage Manager Store is Full. Producer (ID:karkand-58702-1263314161468-0:0:1:1) stopped
to prevent flooding queue://TestQueue. See http://activemq.apache.org/producer-flow-control.html
for more info (blocking for: 121s)
 INFO | Usage Manager Store is Full. Producer (ID:karkand-58702-1263314161468-0:0:1:1) stopped
to prevent flooding queue://TestQueue. See http://activemq.apache.org/producer-flow-control.html
for more info (blocking for: 151s)
 INFO | Usage Manager Store is Full. Producer (ID:karkand-58702-1263314161468-0:0:1:1) stopped
to prevent flooding queue://TestQueue. See http://activemq.apache.org/producer-flow-control.html
for more info (blocking for: 182s)
 INFO | Usage Manager Store is Full. Producer (ID:karkand-58702-1263314161468-0:0:1:1) stopped
to prevent flooding queue://TestQueue. See http://activemq.apache.org/producer-flow-control.html
for more info (blocking for: 212s)
 INFO | Usage Manager Store is Full. Producer (ID:karkand-58702-1263314161468-0:0:1:1) stopped
to prevent flooding queue://TestQueue. See http://activemq.apache.org/producer-flow-control.html
for more info (blocking for: 242s)
 INFO | Usage Manager Store is Full. Producer (ID:karkand-58702-1263314161468-0:0:1:1) stopped
to prevent flooding queue://TestQueue. See http://activemq.apache.org/producer-flow-control.html
for more info (blocking for: 272s)
 INFO | Usage Manager Store is Full. Producer (ID:karkand-58702-1263314161468-0:0:1:1) stopped
to prevent flooding queue://TestQueue. See http://activemq.apache.org/producer-flow-control.html
for more info (blocking for: 303s)
 INFO | Usage Manager Store is Full. Producer (ID:karkand-58702-1263314161468-0:0:1:1) stopped
to prevent flooding queue://TestQueue. See http://activemq.apache.org/producer-flow-control.html
for more info (blocking for: 333s)
 INFO | Usage Manager Store is Full. Producer (ID:karkand-58702-1263314161468-0:0:1:1) stopped
to prevent flooding queue://TestQueue. See http://activemq.apache.org/producer-flow-control.html
for more info (blocking for: 363s)

The producer was directly connected to the master broker and not the slave broker. These messages
must be about a connection between the master and slave broker.

> Pure Master Slave broker hangs when storage limit is reached
> ------------------------------------------------------------
>
>                 Key: AMQ-2564
>                 URL: https://issues.apache.org/activemq/browse/AMQ-2564
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Broker
>    Affects Versions: 5.3.0
>         Environment: Ubuntu 9.10 Desktop, Java 1.6 (build 1.6.0_16-b01)
>            Reporter: Jörn Kottmann
>            Priority: Minor
>         Attachments: activemq-master.xml, activemq-slave.xml
>
>
> The pure master slave broker hangs when the storage limit is reached and dequeueing messages
from the queue is not possible.
> The behavior can be reproduced with a producer which sends messages to the master broker
until the slave broker writes
>  "INFO | Usage Manager Store is Full. Stopping producer (ID:karkand-51292-1263305705067-0:0:1:1)
to prevent flooding queue://TestQueue. See http://activemq.apache.org/producer-flow-control.html
for more info"
> this message to the console.
> To reproduce the store is full message on the slave broker maybe 2 - 3 attempts are necessary
otherwise
> the messages appears on the console of the master broker.
> Any attempts by a test consumer to dequeue messages fail, it just hangs.
> The following information gather with JMX might be interesting:
> MASTER: StorePercentUsage=99
> SLAVE:    StorePercentUsage=100
> The attributes for the Queue are identical on both 
> brokers.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message