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 1C289200BA2 for ; Sun, 16 Oct 2016 21:34:55 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 1A966160AE7; Sun, 16 Oct 2016 19:34:55 +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 625D2160AD0 for ; Sun, 16 Oct 2016 21:34:54 +0200 (CEST) Received: (qmail 37331 invoked by uid 500); 16 Oct 2016 19:34:53 -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 37316 invoked by uid 99); 16 Oct 2016 19:34:53 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 16 Oct 2016 19:34:53 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id C1AADC07AA for ; Sun, 16 Oct 2016 19:34:52 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.378 X-Spam-Level: ** X-Spam-Status: No, score=2.378 tagged_above=-999 required=6.31 tests=[KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_DNSWL_NONE=-0.0001, URI_HEX=1.313, URI_TRY_3LD=0.065] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id PektFns_hCqz for ; Sun, 16 Oct 2016 19:34:50 +0000 (UTC) Received: from mwork.nabble.com (mwork.nabble.com [162.253.133.43]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 206985FAEE for ; Sun, 16 Oct 2016 19:34:50 +0000 (UTC) Received: from mjoe.nabble.com (unknown [162.253.133.57]) by mwork.nabble.com (Postfix) with ESMTP id 622515B971BD8 for ; Sun, 16 Oct 2016 12:34:49 -0700 (MST) Date: Sun, 16 Oct 2016 12:27:14 -0700 (PDT) From: Shobhana To: users@activemq.apache.org Message-ID: <1476646034325-4717977.post@n4.nabble.com> In-Reply-To: References: Subject: Re: KAHADB clean up old log files MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit archived-at: Sun, 16 Oct 2016 19:34:55 -0000 Sorry about adding to somebody else's thread.... I am adding here since I see same issue in our production server. We use 5.14.0 version and I have already enabled DLQ to discard all expired messages and also set expiry of 1 day to all messages (MQTT) and offline durable consumers using the following configurations : a) I enabled following plug-in to set expiry of 1 day for every message (we use only MQTT messages) : b) I enabled DLQ to drop all expired messages for all topics and queues : c) I enabled offline durable subscribers to timeout after 1 day : offlineDurableSubscriberTimeout="86400000" offlineDurableSubscriberTaskSchedule="3600000" After these changes, I could see a few log files got deleted, but majority of the log files remain in the Kahadb folder which consume lot of disk space. I observed this in our production server where I cannot enable trace or JMX. Is there any other way to identify what is causing this issue? TIA, Shobhana -- View this message in context: http://activemq.2283324.n4.nabble.com/KAHADB-clean-up-old-log-files-tp4716661p4717977.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.