Return-Path: X-Original-To: apmail-tomcat-users-archive@www.apache.org Delivered-To: apmail-tomcat-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 42BCAECEA for ; Wed, 20 Feb 2013 08:53:35 +0000 (UTC) Received: (qmail 72531 invoked by uid 500); 20 Feb 2013 08:53:31 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 72253 invoked by uid 500); 20 Feb 2013 08:53:30 -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 72208 invoked by uid 99); 20 Feb 2013 08:53:28 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Feb 2013 08:53:28 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of zoran@sparecreative.com designates 60.242.126.136 as permitted sender) Received: from [60.242.126.136] (HELO sparecreative.com) (60.242.126.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Feb 2013 08:53:22 +0000 Received: from [10.0.1.5] (account zoran@sparecreative.com [10.0.1.5] verified) by sparecreative.com (CommuniGate Pro SMTP 5.3.13) with ESMTPA id 9520549 for users@tomcat.apache.org; Wed, 20 Feb 2013 19:52:56 +1100 User-Agent: Microsoft-MacOutlook/14.2.3.120616 Date: Wed, 20 Feb 2013 19:52:56 +1100 Subject: Re: Help in diagnosing server unresponsiveness From: Zoran Avtarovski To: Tomcat Users List Message-ID: Thread-Topic: Help in diagnosing server unresponsiveness In-Reply-To: Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hi Guys, It's been a while but the nature of this problem means it may be a while between crashes. But we just had a big one which hung the system and required a reboot. I have changed the tomcat options as follows inline with all the advice and material I read to be as follows: -server -Xms1460m -Xmx11460m -Djava.awt.headless=true -XX:+UseCompressedOops -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode -XX:MaxPermSize=512M -XX:NewSize=4500m -XX:+CMSClassUnloadingEnabled -XX:+UseConcMarkSweepGC -XX:-UseGCOverheadLimit -XX:CMSInitiatingOccupancyFraction=80 -verbose:gc -XX:+PrintGCDetails -XX:+PrintGCTimeStamps -Xloggc:/usr/local/tomcat/logs/gc.log The garbage collection log had the following details just prior to the crash: 4163.757: [GC [1 CMS-initial-mark: 0K(5376K)] 1834200K(4152576K), 1.9237250 secs] [Times: user=1.92 sys=0.00, real=1.92 secs] 4165.682: [CMS-concurrent-mark-start] 4165.834: [CMS-concurrent-mark: 0.152/0.152 secs] [Times: user=0.15 sys=0.00, real=0.16 secs] 4165.834: [CMS-concurrent-preclean-start] 4165.849: [CMS-concurrent-preclean: 0.015/0.015 secs] [Times: user=0.01 sys=0.00, real=0.01 secs] 4165.849: [CMS-concurrent-abortable-preclean-start] CMS: abort preclean due to time 4171.285: [CMS-concurrent-abortable-preclean: 5.035/5.436 secs] [Times: user=5.05 sys=0.00, real=5.44 secs] 4171.285: [GC[YG occupancy: 1834200 K (4147200 K)]4171.286: [Rescan (parallel) , 1.5184720 secs]4172.804: [weak refs processing, 0.0001420 secs]4172.804: [class unloading, 0.0118860 secs]4172.816: [scrub symbol & string tables, 0.0141570 secs] [1 CMS-remark: 0K(5376K)] 1834200K(4152576K), 1.5484470 secs] And the JavaMelody monitoring indicated the crash occurred at the same time as garbage collection took place. Basically the Garbage collector time chart peaked at 20 and ran for about 15minutes. I has a look at the garbage collector chart over a longer period and when the collector runs more frequently it appears to be more stable. Any advice on where to go next? Z. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org