Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id A4BD32009EE for ; Wed, 18 May 2016 14:59:06 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id A32A3160A00; Wed, 18 May 2016 12:59:06 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id ED32D1609B1 for ; Wed, 18 May 2016 14:59:05 +0200 (CEST) Received: (qmail 49608 invoked by uid 500); 18 May 2016 12:59:05 -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 49595 invoked by uid 99); 18 May 2016 12:59:04 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 May 2016 12:59:04 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 64E29C0D69 for ; Wed, 18 May 2016 12:59:04 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.863 X-Spam-Level: ** X-Spam-Status: No, score=2.863 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=2, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001, URI_HEX=1.313, URI_TRY_3LD=0.001] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id EfDKqmkPwO-f for ; Wed, 18 May 2016 12:59:02 +0000 (UTC) Received: from mail-vk0-f43.google.com (mail-vk0-f43.google.com [209.85.213.43]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id A77265F239 for ; Wed, 18 May 2016 12:59:01 +0000 (UTC) Received: by mail-vk0-f43.google.com with SMTP id s184so59615631vkb.3 for ; Wed, 18 May 2016 05:59:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to; bh=RjXqL9WHPqWXsxs8eSIxcOsOLTJY4GG3o2kNRnjNSNQ=; b=tM13D5Q2CDH1ApozeVYyzcr4x9XLuhC3yC3L2gCf0deIxng+UAgnoYXKwJ3Y5Rut+G S9QqInGbVzxy4RPYrszPTP3QLsXC+B0DcgsQs4VX2ccRUdZvUvpgP/Ubm4yKU13eXyBm wPQRlH7OSRRKBD1zSddVASaw7dpHxqowG2+hSCkca+rw/nKN6zXMX+ydnx6lpaKlcY4z O9xjdiYSrrXh4A0FPCqypwE+QS1+XRH8Fts+2jk5EPkJf3RwmTOTKA7S9g3HKvq9pWSD ipIttOOKAwTPgAwoLZpcQbb2VVCeSwMBdDz5EcSOWWnzNTcVs4f3v0LJO+chumdLcLcR diLA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:date :message-id:subject:from:to; bh=RjXqL9WHPqWXsxs8eSIxcOsOLTJY4GG3o2kNRnjNSNQ=; b=kEVwjpSavvusKy1YW3LG9PQcK4AA0YAq4QFN9ZAhvhZflQfqA90t1+TFoPLZkNADnc hDGiTOmN8SL39z0VydaE5xJOZgjywVqx4WYhyyfHjvAXP43HKudSU0yJ4isJLus0wQb6 z1d6vW46EofZkAW5F/zBaPGP01pZdJj1PrUAGCU2nONhesVejCxnM4/AEE6Nh983wih6 OilX+DMkVz7nTNLcyqrRCIlYbt4doD6ic78kd9nRrEeK9Ko/m/K/wgZHy9CF18t2eSAm hEe3Y1HWDYSHjk0ks5sxkTZfIlUovKpdswNQeWBP91SGAtsBpmYbaPsQFUvEqvDczU84 guaA== X-Gm-Message-State: AOPr4FXIQ56KtXSQLyUdvntPIAJDW/ZduAeo0N3KN47g86FebgKf0PXz4VR2ajmPWpZ7l7aw2lxOeJbhoSOyYQ== MIME-Version: 1.0 X-Received: by 10.176.65.41 with SMTP id j38mr3772459uad.37.1463576335313; Wed, 18 May 2016 05:58:55 -0700 (PDT) Sender: tbain98@gmail.com Received: by 10.103.112.196 with HTTP; Wed, 18 May 2016 05:58:55 -0700 (PDT) Received: by 10.103.112.196 with HTTP; Wed, 18 May 2016 05:58:55 -0700 (PDT) In-Reply-To: <1463540535328-4712083.post@n4.nabble.com> References: <1463488556093-4712046.post@n4.nabble.com> <1463540535328-4712083.post@n4.nabble.com> Date: Wed, 18 May 2016 06:58:55 -0600 X-Google-Sender-Auth: EatCe0nwopWMmrtGfuihfKxRTWM Message-ID: Subject: Re: AMQ 5.13.2 : Kaha DB logs cleanup issue From: Tim Bain To: ActiveMQ Users Content-Type: multipart/alternative; boundary=94eb2c12359291725c05331d6b69 archived-at: Wed, 18 May 2016 12:59:06 -0000 --94eb2c12359291725c05331d6b69 Content-Type: text/plain; charset=UTF-8 You're right, your interpretation is consistent with the documented example, whereas mine is consistent with the text of the log line. In that situation, I always assume the documentation is wrong, but that's just an assumption. If you or someone else has time to look at the algorithm and confirm how it actually works, we can update the wiki. If not, I'll get to it when I have time. In the meantime, you should investigate the conclusions from both algorithms, since you can't be sure which is correct. I'd be interested to hear what you see via JMX. Also every durable subscriber on a topic has a subscription message that can't be GC'ed, so you're never going to get to zero files. I think I saw a recent JIRA enhancement to allow those messages to be replayed (into the newest file) when there are no messages on the topic. You might want to search for that enhancement and confirm whether it's in the version you're using, and upgrade if not. Tim On May 17, 2016 9:38 PM, "Shobhana" wrote: > Thanks Tim, I did not know that the stats are reset when the broker is > restarted. I'll check how to use JConsole to view the current status of > consumers. > > Yes, all topics have durable subscribers. > > I used the logic mentioned in the example given at > > http://activemq.apache.org/why-do-kahadb-log-files-remain-after-cleanup.html > < > http://activemq.apache.org/why-do-kahadb-log-files-remain-after-cleanup.html > > > to identify the topic that prevents log file from being GCed. Even I was > confused with the example. I expected "dest:0:J" to be holding messages in > #86; but since the example said "dest:0:I", I thought the trace log was > meant for "before" and not "after". Maybe this example can be corrected in > the AMQ link. > However, since I was unsure whether the trace log was wrong or the example > was wrong, I cross-checked for any pending messages in both > riderride.chat.209 and passengerride.user.1234567890 and found that both > were 0. Hence I raised this question. > > > > -- > View this message in context: > http://activemq.2283324.n4.nabble.com/AMQ-5-13-2-Kaha-DB-logs-cleanup-issue-tp4712046p4712083.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com. > --94eb2c12359291725c05331d6b69--