Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 95588 invoked from network); 11 Jan 2010 23:07:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 11 Jan 2010 23:07:07 -0000 Received: (qmail 74598 invoked by uid 500); 11 Jan 2010 23:07:03 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 74511 invoked by uid 500); 11 Jan 2010 23:07:03 -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 74500 invoked by uid 99); 11 Jan 2010 23:07:03 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Jan 2010 23:07:03 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of peter.crowther3@googlemail.com designates 209.85.219.220 as permitted sender) Received: from [209.85.219.220] (HELO mail-ew0-f220.google.com) (209.85.219.220) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Jan 2010 23:06:52 +0000 Received: by ewy20 with SMTP id 20so1908640ewy.0 for ; Mon, 11 Jan 2010 15:06:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to :content-type:content-transfer-encoding; bh=pF+bQ/u0mREDcMiRcMnFyp7jve/Tv9joyqkzBXEl1iA=; b=aFFGAAam1Gwy0VpcWU96MSS+x/8ElDcFssOpwioS4AJksHfsua6KBxeNNEMU4V0/Zw ZXp12UfbeN1doJ2XAIt69LiAEJwc2zU6TvutMv7dyTyCF1WadsRsn+CL1YpNfD+8o9Vs vn3SeiQJoUK5OxGNOioy9uLIbNyJbAyCKrmUA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type :content-transfer-encoding; b=NsTMC/BTE6p591gWa7EBSDk7hGrmrYsqc8mMbRUqCNWVuV2zl6f/TQePsrCGX9Pa18 UtD2eUy7eDvRKJE8m7NWpJjZkK//gRipzJs6eCYMPPyd0hiZRfj19SmAWNa+1yaPyZ/M y9jOeJ9dx050f06VoC9IApyq/gGfnT9ZKy65E= MIME-Version: 1.0 Sender: peter.crowther3@googlemail.com Received: by 10.216.89.9 with SMTP id b9mr2346868wef.61.1263251191439; Mon, 11 Jan 2010 15:06:31 -0800 (PST) In-Reply-To: <002b01ca930e$a8c6b360$6a00a8c0@dan> References: <002b01ca930e$a8c6b360$6a00a8c0@dan> Date: Mon, 11 Jan 2010 23:06:31 +0000 X-Google-Sender-Auth: 60ba3a0a84c5a9d5 Message-ID: Subject: Re: JVM goes away From: Peter Crowther To: Tomcat Users List Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org 2010/1/11 Carl : > This is a new server, a Dell T110 with a Xeon 3440 processor and 4GB memo= ry. =A0I have turned off both the turbo mode and hyperthreading. > > The environment: > > 64 bit Slackware Linux > > java version "1.6.0_17" > Java(TM) SE Runtime Environment (build 1.6.0_17-b04) > Java HotSpot(TM) 64-Bit Server VM (build 14.3-b01, mixed mode) > > Tomcat: apache-tomcat-6.0.20 > > JAVA_OPTS=3D"-Xms2400m -Xmx2400m -XX:PermSize=3D512m -XX:MaxPermSize=3D51= 2m" > > I have watched observed the memory usage and general performance with Jav= a VisualVM and have seen nothing strange. =A0GC seems to be performing well= and the memory rarely gets anywhere near the max. > > The server runs well, idling along at 2-5% load, serving jsp's, etc. at a= reasonable speed. =A0Without warning and with no tracks in any log (Tomcat= or system) or to the console, the JVM will just go away, disappear. =A0Som= etimes, the system will run for a week, sometimes for only several hours. = =A0Initially, I thought the problem was the turbo or hyperthreading but, no= , the problem persists. > > When the JVM goes away, the memory that it held is still being held (as s= een from top) but it is nowhere near the machine physical memory. > > The application has been running on an older server (Dell 600SC, 32 bit S= lackware, 2GB memory) for several years and, while the application will thr= ow exceptions now and then, it never crashed the JVM. =A0This leads me to b= elieve the problem has something to do with the 64 bit JVM but, with errors= , I can't be certain and don't know what I can do about it except go back t= o 32 bit. > > I plan to reinstall Java tonight but, it would seem if the JVM were corru= pted, it simply would not run. > > Any ideas are welcome. I'm with Andy: the Linux OOM killer would show those symptoms. With those settings, you're not leaving a lot of memory for the OS. How much swap do you have, and does the same thing happen if you reduce the Java heap and permgen space? - Peter --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org