Return-Path: Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: (qmail 47362 invoked from network); 25 May 2010 11:50:16 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 25 May 2010 11:50:16 -0000 Received: (qmail 74342 invoked by uid 500); 25 May 2010 11:50:16 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 74172 invoked by uid 500); 25 May 2010 11:50:14 -0000 Mailing-List: contact dev-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list dev@activemq.apache.org Received: (qmail 74162 invoked by uid 99); 25 May 2010 11:50:13 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 May 2010 11:50:13 +0000 X-ASF-Spam-Status: No, hits=-1461.7 required=10.0 tests=ALL_TRUSTED,AWL X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 May 2010 11:50:12 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o4PBnquo022337 for ; Tue, 25 May 2010 11:49:52 GMT Message-ID: <28889585.2731274788192378.JavaMail.jira@thor> Date: Tue, 25 May 2010 07:49:52 -0400 (EDT) From: =?UTF-8?Q?J=C3=B6rn_Kottmann_=28JIRA=29?= To: dev@activemq.apache.org Subject: [jira] Commented: (AMQ-2564) Pure Master Slave broker hangs when storage limit is reached In-Reply-To: <830893697.61263306823490.JavaMail.jira@brutus.apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: ae95407df07c98740808b2ef9da0087c [ https://issues.apache.org/activemq/browse/AMQ-2564?page=3Dcom.atlassi= an.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D59= 532#action_59532 ]=20 J=C3=B6rn Kottmann commented on AMQ-2564: ------------------------------------ Finding the right higher value on the slave seems to be tricky, since it de= pends on the message size which is usually dynamic, which means that depending on the configuration the broker could work for q= uite some time and then fail suddenly when a bunch of bigger messages is re= ceived (which might happen, depending on the application). Users which choose a PureMasterSlave configurtion are really focused on sta= bility. For this particular issue the slave should maybe disable the flow control c= ompletely when the master is healthy,=20 what do you think Gary ? > 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=C3=B6rn Kottmann > Assignee: Gary Tully > Priority: Minor > Fix For: 5.4.0 > > 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 th= e 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://a= ctivemq.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 at= tempts 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=3D99 > SLAVE: StorePercentUsage=3D100 > The attributes for the Queue are identical on both=20 > brokers. --=20 This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.