Return-Path: Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: (qmail 57480 invoked from network); 27 Jan 2010 12:27:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 27 Jan 2010 12:27:56 -0000 Received: (qmail 22520 invoked by uid 500); 27 Jan 2010 12:27:56 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 22445 invoked by uid 500); 27 Jan 2010 12:27:55 -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 22435 invoked by uid 99); 27 Jan 2010 12:27:55 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Jan 2010 12:27:55 +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.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Jan 2010 12:27:53 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 8FE3D234C1EE for ; Wed, 27 Jan 2010 04:27:32 -0800 (PST) Message-ID: <1264891937.2701264595252588.JavaMail.jira@brutus.apache.org> Date: Wed, 27 Jan 2010 12:27:32 +0000 (UTC) From: "Gary Tully (JIRA)" To: dev@activemq.apache.org Subject: [jira] Commented: (AMQ-2584) Massege store is not cleaned when durable topic subscribers are refusing messages In-Reply-To: <1051284981.2651264592132619.JavaMail.jira@brutus.apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: ae95407df07c98740808b2ef9da0087c X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/activemq/browse/AMQ-2584?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=57163#action_57163 ] Gary Tully commented on AMQ-2584: --------------------------------- Could you attach a test case to this? I have just tracked down the cause of the: WARN | Duplicate message add attempt rejected. Message id: ID:sk1d069c-3826-1264006781626-0:0:1:1:13425 but I don't think this could result in dangling references to files in the store. So i suspect the there is another reason for the data files not being cleaned up. At simple test case would help a lot. > Massege store is not cleaned when durable topic subscribers are refusing messages > ---------------------------------------------------------------------------------- > > Key: AMQ-2584 > URL: https://issues.apache.org/activemq/browse/AMQ-2584 > Project: ActiveMQ > Issue Type: Bug > Components: Message Store > Affects Versions: 5.3.0, 5.3.1, 5.4.0 > Environment: WinXP, > java version "1.6.0_05" > Java(TM) SE Runtime Environment (build 1.6.0_05-b13) > Java HotSpot(TM) Client VM (build 10.0-b19, mixed mode, sharing) > Reporter: Juraj Kuruc > > Hi, > i am using activemq 5.3 (resp. 5.4 snapshot , 5.3.1 snapshot) with kahadb in following use-case: > - 3 durable topic subscriber, each refuses message using session.recover(), 1 delivery attempts > - ActiveMQ.DLQ consumer > - persistent message topic producer > In such case deadletter consumer should consume every message sent, as soon as number of delivery attempts is reached and mmessage is sent to ActiveMQ.DLQ. Result is ok but kahadb data directory at the end contains all log files with names db-.log ever created. They aren't deleted even after some time. > I can also see following massege in console: > WARN | Duplicate message add attempt rejected. Message id: ID:sk1d069c-3826-1264006781626 > -0:0:1:1:13425 > If use-case is altered to use queue instead of topic log files are periodically deleted without WARN messages in console. > Same behaviour (data files not cleaned) if amqPersistenceAdapter is used except of WARN messages. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.