Return-Path: X-Original-To: apmail-activemq-users-archive@www.apache.org Delivered-To: apmail-activemq-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0A62118E99 for ; Sun, 19 Jul 2015 10:23:12 +0000 (UTC) Received: (qmail 27611 invoked by uid 500); 19 Jul 2015 10:23:11 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 27571 invoked by uid 500); 19 Jul 2015 10:23:11 -0000 Mailing-List: contact users-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@activemq.apache.org Delivered-To: mailing list users@activemq.apache.org Delivered-To: moderator for users@activemq.apache.org Received: (qmail 73373 invoked by uid 99); 17 Jul 2015 07:54:44 -0000 X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 3.474 X-Spam-Level: *** X-Spam-Status: No, score=3.474 tagged_above=-999 required=6.31 tests=[FORGED_HOTMAIL_RCVD2=1.187, SPF_SOFTFAIL=0.972, URIBL_BLOCKED=0.001, URI_HEX=1.313, URI_TRY_3LD=0.001] autolearn=disabled Date: Fri, 17 Jul 2015 00:54:18 -0700 (PDT) From: Cadmean To: users@activemq.apache.org Message-ID: <1437119658901-4699427.post@n4.nabble.com> Subject: message stucks in 4 brokers network MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit I have built a broker network with 4 brokers and 5000 producer(sending 1 message/min) and 5 consumers(connecting to the same broker). A F5 load balancer is used to provide load balance service. All the borker have the same network setting in activemq.xml: and I also set the replayWhenNoConsumer="true" for all the queues in destination policy. The problem is: 1. if I remove the setting for networkTTL and dynamicOnly, when I restart the consumers, some of the messages stucks in the brokers. All of them are not from the local producer. Sometimes they will block the queue, sometimes they just stay in the queue and cannot be consumed. 2. after changing the xml to networkTTL=2 and dynamicOnly=true, some messages even from local producers accumulates. I have checked the doc in the website: http://activemq.apache.org/networks-of-brokers.html . But I can't get the answer. Is there anything wrong with the network setting? Enviroment: Suse Linux 11 sp2,JDK 1.7 the jvm memory is set to 2G ActiveMQ Version: 5.10.0 -- View this message in context: http://activemq.2283324.n4.nabble.com/message-stucks-in-4-brokers-network-tp4699427.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.