Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 79127 invoked from network); 7 Feb 2007 23:59:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 7 Feb 2007 23:59:31 -0000 Received: (qmail 2856 invoked by uid 500); 7 Feb 2007 23:59:25 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 2837 invoked by uid 500); 7 Feb 2007 23:59:24 -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 2826 invoked by uid 99); 7 Feb 2007 23:59:24 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Feb 2007 15:59:24 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [192.61.61.104] (HELO usea-naimss2.unisys.com) (192.61.61.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Feb 2007 15:59:13 -0800 Received: from usea-nagw2.na.uis.unisys.com ([129.224.72.18]) by usea-naimss2 with InterScan Message Security Suite; Wed, 07 Feb 2007 17:58:50 -0600 Received: from usea-nagw2.na.uis.unisys.com ([129.224.72.53]) by usea-nagw2.na.uis.unisys.com with Microsoft SMTPSVC(6.0.3790.1830); Wed, 7 Feb 2007 17:58:50 -0600 Received: from USRV-EXCH4.na.uis.unisys.com ([192.61.245.232]) by usea-nagw2.na.uis.unisys.com with Microsoft SMTPSVC(6.0.3790.1830); Wed, 7 Feb 2007 17:58:50 -0600 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: OutOfMemoryError (but not really out of memory?) cause tomcatprocesses to hang Date: Wed, 7 Feb 2007 17:58:49 -0600 Message-ID: In-Reply-To: <010101c74b12$367a7cc0$6701a8c0@deerfield> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: OutOfMemoryError (but not really out of memory?) cause tomcatprocesses to hang Thread-Index: AcdLCSXjYlhTXkJiQ8aHf844XaSOzgABZTPAAABl7MAAAIl+wA== References: <010101c74b12$367a7cc0$6701a8c0@deerfield> From: "Caldarale, Charles R" To: "Tomcat Users List" X-OriginalArrivalTime: 07 Feb 2007 23:58:50.0035 (UTC) FILETIME=[E9AEB030:01C74B13] X-Virus-Checked: Checked by ClamAV on apache.org > From: Sharon French [mailto:sfrench@xtensible.com]=20 > Subject: RE: OutOfMemoryError (but not really out of memory?)=20 > cause tomcatprocesses to hang >=20 > I'm assuming that whomever was sucking up the memory has > either given it back or died off - right? Not necessarily. The OOME could have been presented due to an unreasonably large request that could never be satisifed. The memory won't be given back until another GC has run, although minor GCs run quite frequently in a HotSpot JVM. =20 > Now it's down to how do I catch the culprit?=20 The first step is to turn on -verbose:gc so you can get a better idea of what's happening when. You might want to update the JVM to the current 1.5.0_11 level, just to make sure it's not some sort of heap management problem in your relatively old level. You should have stack traces to go with the OOME reports; where do these show the execution to be? > Given that after such an error occurs, we have plently=20 > of memory, and plenty of threads sitting in await(), > any ideas on why the connections to apache end up in > SYN_RECV? Sorry, I have no experience with httpd. > the OutOfMemoryErrors always indicate "java heap space". > Is this error message reliable? It should be in 1.5; 1.4 gave no clue as to the actual underlying clause. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. --------------------------------------------------------------------- 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