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 EE20910224 for ; Mon, 16 Sep 2013 07:50:46 +0000 (UTC) Received: (qmail 19513 invoked by uid 500); 16 Sep 2013 07:50:46 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 19448 invoked by uid 500); 16 Sep 2013 07:50:45 -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 Received: (qmail 19434 invoked by uid 99); 16 Sep 2013 07:50:42 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Sep 2013 07:50:42 +0000 X-ASF-Spam-Status: No, hits=2.3 required=5.0 tests=SPF_SOFTFAIL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: softfail (athena.apache.org: transitioning domain of cid@iti.upv.es does not designate 216.139.250.139 as permitted sender) Received: from [216.139.250.139] (HELO joe.nabble.com) (216.139.250.139) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Sep 2013 07:50:38 +0000 Received: from [192.168.236.139] (helo=joe.nabble.com) by joe.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1VLTZ8-0001He-Oj for users@activemq.apache.org; Mon, 16 Sep 2013 00:49:50 -0700 Date: Mon, 16 Sep 2013 00:49:35 -0700 (PDT) From: Francisco To: users@activemq.apache.org Message-ID: <1379317775745-4671513.post@n4.nabble.com> In-Reply-To: References: <1379088724555-4671489.post@n4.nabble.com> Subject: Re: ActiveMQ exceptions after unespected shutdown. Queue not working. MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hi Claus, I'm a Fernandez's colleague, and I'm also aware of the problem, so I can give you more details about it. Here we go: - Scenario: - We are using ActiveMQ 5.7 - This specific queue has several producers (1-7) and only one consumer. Each producer sends 100 messages per hour on average. - The problem: - We experienced a power cut, and it affected the AMQ server. - After restarting, all the queues/topics but one, were behaving properly. - Basically, all the new messages were correctly enqueued, but none of them were consumed, so the queue kept growing, and growing... - The analysis: - As you can see in the log attached in the post, it looks like some of the messages was corrupted and AMQ was constantly trying to send it to the consumer, but with no success. - The real problem is that the corrupted message (or messages)prevented all the new arrived messages from being consumed. Then we tried to set the *archiveCorruptedIndex* property to "true", in the hope that it will make AMQ drop the corrupted message and will allow AMQ to continue the dispatching. But it didn't work: Eventually, we "solved" the problem manually deleting all the messages from the queue. From then on, all the sent messages were correctly consumed. However, we (obviously) lost the messages that had already been queued. So the questions are: - Is there anyway to prevent AMQ from blocking a queue in this kind of situations? - Is there anyway to know which message caused this situation? - Is there anyway to tell AMQ to ignore the problematic message and continue the dispatching? Thanks in advance, Francisco -- View this message in context: http://activemq.2283324.n4.nabble.com/ActiveMQ-exceptions-after-unespected-shutdown-Queue-not-working-tp4671489p4671513.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.