Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 23046 invoked from network); 23 Feb 2011 10:23:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 23 Feb 2011 10:23:39 -0000 Received: (qmail 55425 invoked by uid 500); 23 Feb 2011 10:23:39 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 55021 invoked by uid 500); 23 Feb 2011 10:23:36 -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 55003 invoked by uid 99); 23 Feb 2011 10:23:35 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Feb 2011 10:23:35 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of ildella@gmail.com designates 209.85.214.171 as permitted sender) Received: from [209.85.214.171] (HELO mail-iw0-f171.google.com) (209.85.214.171) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Feb 2011 10:23:31 +0000 Received: by iwr19 with SMTP id 19so3975693iwr.2 for ; Wed, 23 Feb 2011 02:23:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type:content-transfer-encoding; bh=6MmaqG5qff8Qmt+zkMZaJGqeftip9FVzYL+PC4hJCS8=; b=RJUha8F+BFVG/jiiANDBN5Fw+1vvIhlzV4zTjYnE8vDgYq+C5pKU1bBIihGw/ytZFM BUGXGYUgPq6RZ6dcGdf9VT7JK000Oei3qLkfFkK0/WXuOxjhrAlIJAe8uqAEXbjnWz1L I0QFUKoR5+8KcxI7o9DROS4gLTQ57XoXql8Bk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=NDGA7UClVFY0Pqzxdch8HxORnmOQiF2cVp3EdnzER+G3BU+reKo3ZbvRPE1F3v1MhV DSTG9UopTmq1VT3XZjRRXWDzBivgLH9kxvOk/hSscjiDfIxaO6sVxXVMwLzIRmJEVHL3 W0jeeHy43HD4q3Wf220baWP6fEA8QSrRantlY= Received: by 10.42.225.137 with SMTP id is9mr4875499icb.264.1298456590194; Wed, 23 Feb 2011 02:23:10 -0800 (PST) MIME-Version: 1.0 Received: by 10.231.153.147 with HTTP; Wed, 23 Feb 2011 02:22:50 -0800 (PST) In-Reply-To: References: From: Daniele Dellafiore Date: Wed, 23 Feb 2011 11:22:50 +0100 Message-ID: Subject: Re: Manage KahaDB growth To: Dejan Bosanac Cc: users@activemq.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable I'm using 5.4.2 and after last reset, the KahaDB folder is now 144 mega. When are the journal file supposed to be released? Maybe some still attached topic or connection are preventing the release? On Wed, Feb 23, 2011 at 9:05 AM, Dejan Bosanac wrote: > Hi Daniele, > what version of broker are you using? > There were some bugs in the past that caused journal files not be release= d > (deleted). Version 5.4.2 and the latest snapshot should have that sorted. > > > Regards > -- > Dejan Bosanac > ----------------- > FuseSource - The experts in open source integration and messaging. > Email: dejanb@fusesource.com > Web: http://fusesource.com > Twitter: =A0http://twitter.com/dejanb > ActiveMQ in Action - http://www.manning.com/snyder/ > Blog - http://www.nighttale.net > > > On Tue, Feb 22, 2011 at 2:55 PM, Daniele Dellafiore > wrote: >> >> Hi. >> >> After some months using a broker just for tests, the ActivMQ folder >> grew up to 600MB. I'd like to control this and I've seen the >> systemUsage config to cap the memory used but I'd like to understand >> better how the space is used. >> I'm interested that my Broker deletes my messages when they are 15 days >> old. >> >> Is there a way to configure the Broker that way? >> As far as I've understood from >> http://activemq.apache.org/producer-flow-control.html when the limit >> is reached, the broker slow down. >> I do not want the limit to be reached, I want that the Broker clean >> old messages and I do not know how to do. >> >> As I told, all my producer send PERSISTENT messages with a timeToLeave >> of 10 seconds but I've experienced a DB growth that I want to avoid in >> future. >> >> Thanks. >> >> -- >> Daniele Dellafiore >> http://danieledellafiore.net > > --=20 Daniele Dellafiore http://danieledellafiore.net