Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 63606 invoked from network); 7 Aug 2008 14:24:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 7 Aug 2008 14:24:50 -0000 Received: (qmail 18209 invoked by uid 500); 7 Aug 2008 14:24:37 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 18184 invoked by uid 500); 7 Aug 2008 14:24:37 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 18172 invoked by uid 99); 7 Aug 2008 14:24:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Aug 2008 07:24:37 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [64.233.182.188] (HELO nf-out-0910.google.com) (64.233.182.188) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Aug 2008 14:23:42 +0000 Received: by nf-out-0910.google.com with SMTP id c10so156586nfd.44 for ; Thu, 07 Aug 2008 07:24:07 -0700 (PDT) Received: by 10.210.28.4 with SMTP id b4mr4066644ebb.138.1218119047471; Thu, 07 Aug 2008 07:24:07 -0700 (PDT) Received: by 10.210.54.10 with HTTP; Thu, 7 Aug 2008 07:24:07 -0700 (PDT) Message-ID: <964267230808070724yd6b6b81md047cb77e7d4f41e@mail.gmail.com> Date: Thu, 7 Aug 2008 15:24:07 +0100 From: "Philip Wigg" To: "Tomcat Users List" Subject: Re: Would like to monitor memory use offline In-Reply-To: <489A148D.1030308@nucleus.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <489A148D.1030308@nucleus.com> X-Virus-Checked: Checked by ClamAV on apache.org Hi, the manager application can return values in XML. You just need to hit:- http://localhost:8080/manager/status?XML=true or wherever it's located. This makes it a bit easier to write shell scripts based on Free Heap or Max Threads or whatever. I've got a perl script which checks whatever values you need and logs them to a .csv for easy reporting. I'll make it a bit better and post it if anyone has any interest. Kind regards, Phil. 2008/8/6 Richard S. Huntrods : > To Ben & Mark, > > Thanks for the replies. I've been trying various things based on your > suggestions. I find my best tool at the moment is "Lambda Probe" - though it > hasn't been updated in a while, it does show me all the things (for the most > part) that I wanted to watch. > > There's definitely some kind of problem with the JVM not releasing the "PS > Old Gen" memory. I can watch as this gets gradually used up until it hits > the max value - then Tomcat crashes with the GC/Heap error message. If I > stop and start Tomcat before this limit is reached, the memory use resets to > 0 and the system does not crash. > > What is puzzling is that this identical system was working for weeks on end > without a problem under the older versions of Java, Tomcat and Mysql I > posted in my original post - and with 1/2 the stack. Only when I moved to > the new servers (with all the new versions) did the GC crashes start. > > Now I'm trying different GC managers to see if one of them "works better" at > freeing up memory - like maybe the compation parallel GC. We'll see. > > Again, thanks for the relies. > > Cheers, > > -Richard > > --------------------------------------------------------------------- > To start a new topic, e-mail: users@tomcat.apache.org > To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org > For additional commands, e-mail: users-help@tomcat.apache.org > > --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org