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 22DF410762 for ; Wed, 11 Dec 2013 13:02:35 +0000 (UTC) Received: (qmail 60726 invoked by uid 500); 11 Dec 2013 13:02:33 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 60512 invoked by uid 500); 11 Dec 2013 13:02:33 -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 60503 invoked by uid 99); 11 Dec 2013 13:02:31 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Dec 2013 13:02:31 +0000 X-ASF-Spam-Status: No, hits=1.3 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_PASS,URI_HEX X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy includes SPF record at spf.trusted-forwarder.org) Received: from [212.6.122.185] (HELO mail-in1-pp.ewetel.de) (212.6.122.185) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Dec 2013 13:02:25 +0000 Received: from mailrelay01.buenting.de ([80.228.251.34]) by mail-in1-pp.ewetel.de (8.12.1/8.12.9) with ESMTP id rBBD201E019313 for ; Wed, 11 Dec 2013 14:02:01 +0100 Received: from lnler06.buenting.de (lnler06.buenting.de [192.168.1.157]) by mailrelay01.buenting.de (Postfix) with ESMTP id C320940A36 for ; Wed, 11 Dec 2013 14:00:47 +0100 (CET) Received: from MEXCAS01.buenting.de ([192.168.1.243]) by lnler06.buenting.de (Lotus Domino Release 8.5.2FP4) with ESMTP id 2013121114020067-292607 ; Wed, 11 Dec 2013 14:02:00 +0100 Received: from MEXMBX02.buenting.de ([fe80::2056:8b29:ae7:5254]) by MEXCAS01.buenting.de ([fe80::6d3c:a8f7:f6ec:920e%12]) with mapi id 14.03.0123.003; Wed, 11 Dec 2013 14:02:00 +0100 From: "Seibt, Volker" To: "users@activemq.apache.org" Subject: AW: KahaDB journals growing - no visible entries Thread-Topic: KahaDB journals growing - no visible entries Thread-Index: AQHO9llQj96CwHG5Gk6ueULeO93A5JpO3oQAgAAV3YA= Date: Wed, 11 Dec 2013 13:01:59 +0000 Message-ID: <55C255F51A20E2469CA11960927CE18233EE3BF4@MEXMBX02.buenting.de> References: <1386756190583-4675358.post@n4.nabble.com> <443BCE38E921434394B45FF0813FA5781ECFBF09@MSGEXSV21103.ent.wfb.bank.corp> In-Reply-To: <443BCE38E921434394B45FF0813FA5781ECFBF09@MSGEXSV21103.ent.wfb.bank.corp> Accept-Language: de-DE, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [192.168.71.70] MIME-Version: 1.0 X-TNEFEvaluated: 1 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="iso-8859-1" Content-Language: de-DE X-CheckCompat: OK X-Virus-Checked: Checked by ClamAV on apache.org In addition to the queues used by the application there is one queue "Activ= eMQ.DLQ" which holds 77 messages. There is also one topic "ActiveMQ.Advisory.Queue" which holds 7 messages. T= hat's all. After purging "ActiveMQ.DLQ" and restarting the instance ActiveMQ brings up= 23 messages in "ActiveMQ.DLQ". Except viewing the admin web page and purging the queue there was no furthe= r activity. Regards, Volker Seibt -----Urspr=FCngliche Nachricht----- Von: barry.barnett@wellsfargo.com [mailto:barry.barnett@wellsfargo.com]=20 Gesendet: Mittwoch, 11. Dezember 2013 13:39 An: users@activemq.apache.org Betreff: RE: KahaDB journals growing - no visible entries Is there a DLQ for each application queue? Are those holding any messages? Regards, Barry Barnett WMQ Enterprise Services & Solutions Wells Fargo Cell: 704-564-5501 -----Original Message----- From: volker.seibt [mailto:volker.seibt@buenting.de]=20 Sent: Wednesday, December 11, 2013 5:03 AM To: users@activemq.apache.org Subject: KahaDB journals growing - no visible entries We use ActiveMQ 5.7 as embedded jms provider with camel 2.11.0. It's a small application which uses about seven or eight queues with about = max. 1,000 small messages (tickets from a deposit machine) per queue / day. We use persistent queues via KahaDB and did not change any KahaDB parameter= s. With this the number of KahaDB journals (db-xxx.log) is growing every day. >From 2013/07 until now we got 439 files with the default size of 32mb, whic= h cumulates to about 12 gb. I copied this database to a standale ActiveMQ instance to analyze it: On startup an automatic recovery is startet which "recovers" 5,400,000 (!) = entries. All queues used by our application are shown with zero entries exc= ept the ActiveMQ.DLQ (dead letter queue) with 77 entries. There are also about four or three topics shown with maximum 7 entries. While running this database on an ActiveMQ instance for 10 minutes it grows= by three new files (about 95 mb). First questions: where do the 5.4 million of entries hide? How can I get ri= d of them without without a complete deletion of the database? How can such= a state occure, and more important, how can we avoid this? -- View this message in context: http://activemq.2283324.n4.nabble.com/KahaDB-= journals-growing-no-visible-entries-tp4675358.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.