Return-Path: Delivered-To: apmail-geronimo-user-archive@www.apache.org Received: (qmail 75866 invoked from network); 28 Jul 2008 23:49:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 28 Jul 2008 23:49:46 -0000 Received: (qmail 94194 invoked by uid 500); 28 Jul 2008 23:49:45 -0000 Delivered-To: apmail-geronimo-user-archive@geronimo.apache.org Received: (qmail 93652 invoked by uid 500); 28 Jul 2008 23:49:44 -0000 Mailing-List: contact user-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: user@geronimo.apache.org List-Id: Delivered-To: mailing list user@geronimo.apache.org Received: (qmail 93637 invoked by uid 99); 28 Jul 2008 23:49:44 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 Jul 2008 16:49:43 -0700 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=DNS_FROM_OPENWHOIS,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 Jul 2008 23:48:48 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1KNcSn-0007Eq-Hd for user@geronimo.apache.org; Mon, 28 Jul 2008 16:49:13 -0700 Message-ID: <18702238.post@talk.nabble.com> Date: Mon, 28 Jul 2008 16:49:13 -0700 (PDT) From: dsthode To: user@geronimo.apache.org Subject: Re: Configure HOWL log size In-Reply-To: <427C77A1-0016-420E-964E-E735E8A3922C@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: damian.serrano@juntadeandalucia.es References: <18688049.post@talk.nabble.com> <427C77A1-0016-420E-964E-E735E8A3922C@gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org Thank you very much Kevan, added the setting to my config.xml and worked great! -Damian Kevan Miller wrote: > > > On Jul 28, 2008, at 7:01 AM, dsthode wrote: > >> >> Hello all, >> >> I'm running an application deployed in Geronimo 2.1 and after a >> couple of >> days running my HOWL log file in var/txlog grows up to 2.5 GB approx. >> >> Looking at the deployment plan in repository/org/apache/geronimo/ >> transaction >> I've seen that the maxBlocksPerFile property is set to -1 that means >> it will >> grow to infinity. >> >> I've deleted this log file and tried to modify the plan.xml file to >> set this >> property to something more reasonable, say 400 (BTW, I don't know if >> this >> value is too low, just tried with that), but it doesn't change >> anything as >> the file keeps growing just as fast as before when I restart Geronimo. >> >> In the JMX viewer I've seen that the value for this property didn't >> change, >> it stays in 2147483647, and trying to change it via the button >> "setMaxBlocksPerFile" in the column to the right doesn't do >> anything, as the >> value stays the same. >> >> So, how can I change this property so that the HOWL transaction log >> doesn't >> fill up all the free space in my drive? > > Hi, > This is fixed in current branches/2.1 source. The new default is 512 > (400 would be just fine, also). We're working on a 2.1.2 release which > will contain this change. In the meantime, you can build from source > or download a nightly build > (http://people.apache.org/builds/geronimo/server/binaries/2.1/20080727/ > ). > > If you want to continue using your current Geronimo release you can > override this setting by adding the following to your var/config/ > config.xml (assuming you're using 2.1.1): > > > > 512 > > > > Note that this isn't a dynamic value. You can't change this at > runtime. You can only change this if you delete your current > transaction logs (or set in your config.xml prior to the initial start > of your server). HOWL encodes MaxBlocksPerFile in the tran logs and > won't allow them to be changed. > > --kevan > > -- View this message in context: http://www.nabble.com/Configure-HOWL-log-size-tp18688049s134p18702238.html Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.