Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 20543 invoked from network); 2 Nov 2005 14:33:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 2 Nov 2005 14:33:15 -0000 Received: (qmail 44192 invoked by uid 500); 2 Nov 2005 14:32:57 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 44169 invoked by uid 500); 2 Nov 2005 14:32:56 -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 44158 invoked by uid 99); 2 Nov 2005 14:32:56 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Nov 2005 06:32:56 -0800 X-ASF-Spam-Status: No, hits=1.4 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: 66.249.82.206 is neither permitted nor denied by domain of anna.seekamp@googlemail.com) Received: from [66.249.82.206] (HELO xproxy.gmail.com) (66.249.82.206) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Nov 2005 06:32:52 -0800 Received: by xproxy.gmail.com with SMTP id h28so242465wxd for ; Wed, 02 Nov 2005 06:32:35 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=googlemail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=hut7EyOrNxNbrN25Z8N1J/m5gb7fEzSl0KC4644XMv8hUnXUBoPGhaCHlqHy/adzgAuRdTyOFO//9U8V0rZGR+vptDrMheQeF9Ww67jmN9uf/kR3w+oOWkFUQ95DOqbyTCb0Fyn7E1RRutYthFRTCPf+mG5MekwLI3/LGpcGhVI= Received: by 10.65.236.1 with SMTP id n1mr1948655qbr; Wed, 02 Nov 2005 06:32:34 -0800 (PST) Received: by 10.65.182.10 with HTTP; Wed, 2 Nov 2005 06:32:34 -0800 (PST) Message-ID: Date: Wed, 2 Nov 2005 15:32:34 +0100 From: Anna Seekamp To: Tomcat Users List Subject: Re: tomcat - OutOfMemoryError In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Thanks Peter, We will run the tomcat with: -XX:+PrintGCDetails in order to see the PermGen-Size -- anna 2005/11/2, Peter Crowther : > > > From: Anna Seekamp [mailto:anna.seekamp@googlemail.com] > > > The jvm (1.4.2 Suse-Linux) starts with: > > > -server -Xmx1500m -Xms1500ms > > > > > > We have 9 webapps. > > > One webapp has 50% load. > > > The other share the rest. > > > If we put 7 webapps online, we > > > ran into problems. After a few hours we get OutOfMemoryErrors. The > > > tomcat crashes an we get no response. But there isn't a > > heavy load (< > > > 1). There isn't OutOfMemory (the last Runtime.freeMemory(): > > 1,3 GB) The > > > Thread-Dump of the crashed server is unspecific. Most threads are > > > waiting on findBundle in CoyoteConnector.createRequest(). > > > > > > Are there any suggestions. Everything is welcome! > > > I don't know where to look. Threads, Sockets, Memory (is > > there a problem > > > with Runtime.freeMemory) > > 1. Check the PermGen usage - are you slowly loading more classes in > until the default (64M I think) PermGen is exhausted? > Runtime.freeMemory doesn't take into account the separation between > PermGen and the other generations. > > 2. Java has a distressing habit of throwing out of memory errors when it > runs out of any resources, including file descriptors or sockets. > You'll have one heck of a log file to analyse, but as a last ditch > effort I'd try running a system call tracer on the process and look for > failed calls. > > However, I'm a novice in these areas. I've no doubt you'll get better > advice from those more experienced with large production apps. > > - Peter > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org > For additional commands, e-mail: users-help@tomcat.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org