Return-Path: Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: (qmail 32373 invoked from network); 18 Sep 2010 16:46:47 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 18 Sep 2010 16:46:47 -0000 Received: (qmail 19389 invoked by uid 500); 18 Sep 2010 16:46:47 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 19327 invoked by uid 500); 18 Sep 2010 16:46:47 -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 19091 invoked by uid 99); 18 Sep 2010 16:46:46 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 18 Sep 2010 16:46:46 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED 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; Sat, 18 Sep 2010 16:46:45 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o8IGkPHE002140 for ; Sat, 18 Sep 2010 16:46:25 GMT Message-ID: <22084016.20511284828385831.JavaMail.jira@thor> Date: Sat, 18 Sep 2010 12:46:25 -0400 (EDT) From: "Bruce Snyder (JIRA)" To: dev@activemq.apache.org Subject: [jira] Updated: (AMQ-2286) NetworkConnector PrefetchSize In-Reply-To: <1390452248.1244645615295.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: ae95407df07c98740808b2ef9da0087c [ https://issues.apache.org/activemq/browse/AMQ-2286?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bruce Snyder updated AMQ-2286: ------------------------------ Fix Version/s: 5.5.0 (was: 5.4.1) > NetworkConnector PrefetchSize > ----------------------------- > > Key: AMQ-2286 > URL: https://issues.apache.org/activemq/browse/AMQ-2286 > Project: ActiveMQ > Issue Type: Bug > Components: Broker > Affects Versions: 5.2.0 > Environment: Sun solaris 10 > Reporter: ying > Fix For: 5.5.0 > > > I have an issue which greatly reduces the quality of service of a network of activemq brokers. > Here is what I have: > 1. 4 brokers( broker1, broker2, broker3, broker4) in a network by multicast discovery > 2. i have 2 consumers of QueueA on broker1, 2 consumers of QueueA on broker2, and consumer queuePrefetch=1, networkConnector prefetchSize=1. Queue is using RoundRobinDispatchPolicy > 3. I publish to QueueA on broker3 with 100 msgs, 2 consumers on broker1 are fast and they process fine but 2 consumers on broker2 are stuck. However, with this config, msgs are still 50 goes to broker1, 50 goes to broker2, and when consumers on broker2 get stuck, those 50 msgs are stuck on broker2. It seems the prefetchSize=1 on networkConnector have no effect at all. > what I expect in this case will be that 98 msgs shall go to broker1, and only 2 msgs stuck on broker2's consumers. I cannot lose a single msg so ConstantPendingMessageLimit will not help. > Please help. Thanks -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.