From owner-freebsd-java Tue Aug 22 19:12:48 2000 Delivered-To: freebsd-java@freebsd.org Received: from www.kpi.com.au (www.kpi.com.au [203.39.132.210]) by hub.freebsd.org (Postfix) with ESMTP id C8D8037B424 for ; Tue, 22 Aug 2000 19:12:41 -0700 (PDT) Received: from forge (lurker.kpi.com.au [203.39.132.222]) by www.kpi.com.au (8.9.3/8.9.3) with SMTP id MAA07214; Wed, 23 Aug 2000 12:16:41 +1000 (EST) (envelope-from shevlandj@kpi.com.au) From: "Joe Shevland" To: "Greg Lewis" Cc: "List, FreeBSD Java" Subject: RE: Possible resource leak: JDK1.2.2/Tomcat 3.1 Date: Wed, 23 Aug 2000 12:18:09 +1000 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 In-Reply-To: <200008230136.LAA07615@ares.trc.adelaide.edu.au> Importance: Normal Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Yes, I'm doing this at the moment with an fstat and keeping an eyeball peeled... I'll report anything odd as soon as I see it, if I do see it occur again (got plans to take it up to 4.1-stable which may resolve it). Cheers, Joe > -----Original Message----- > From: Greg Lewis [mailto:glewis@ares.trc.adelaide.edu.au] > Sent: Wednesday, August 23, 2000 11:37 AM > To: Joe Shevland > Cc: List, FreeBSD Java > Subject: Re: Possible resource leak: JDK1.2.2/Tomcat 3.1 > > > Joe Shevland wrote: > > I've been running the JDK1.2.2 port (patchset 10) and Tomcat > 3.1 on FreeBSD 3.5 (stable-20000718) for the last ~17 days (that > was the uptime of the machine before the crash I'll describe). > Yesterday I attempted to SSH to the box to do something and it > booted me straight off. Toddling up to the dingy computer room, I > see on the console that it has run of out file descriptors to > allocate. I've never seen this before with FreeBSD, and it had > the effect I couldn't log on or do anything (apart from, I know > I'm a sinner, the three-figure salute). > > > > Are there any log files I should be aware of that may indicate > the cause of the runaway file descriptors? I'm blindly pointing > the finger at JDK/Tomcat because it must perform a lot of file IO > (the box also runs sendmail (light load for the configration of > the box) and sshd but thats about it). > > Can you periodically maybe check what files are open (I think a utility > like lsof will do this for you)? That way we can hopefully tell if things > are being kept open that shouldn't. > > -- > Greg Lewis glewis@trc.adelaide.edu.au > Computing Officer +61 8 8303 5083 > Teletraffic Research Centre > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message