From owner-freebsd-java@FreeBSD.ORG Wed Dec 15 20:32:58 2004 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0AC0916A4CE for ; Wed, 15 Dec 2004 20:32:58 +0000 (GMT) Received: from smtp18.wxs.nl (smtp18.wxs.nl [195.121.6.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8E3F143D1F for ; Wed, 15 Dec 2004 20:32:57 +0000 (GMT) (envelope-from ronald-freebsd8@klop.yi.org) Received: from ronald.echteman.nl (ip51cdc5d2.speed.planet.nl [81.205.197.210])2004))freebsd-java@freebsd.org; Wed, 15 Dec 2004 21:32:56 +0100 (CET) Received: (qmail 13142 invoked from network); Wed, 15 Dec 2004 20:33:00 +0000 Received: from unknown (HELO laptop.thuis.klop.ws) (192.168.1.4) by ronald.echteman.nl with SMTP; Wed, 15 Dec 2004 20:33:00 +0000 Received: (qmail 786 invoked from network); Wed, 15 Dec 2004 20:32:48 +0000 Received: from localhost.thuis.klop.ws (HELO smtp.local) (127.0.0.1) by localhost.thuis.klop.ws with SMTP; Wed, 15 Dec 2004 20:32:48 +0000 Date: Wed, 15 Dec 2004 21:32:45 +0100 From: Ronald Klop In-reply-to: <41BECEB7.3000405@nefli.nl> To: Joris Verschoor , freebsd-java@freebsd.org Message-id: MIME-version: 1.0 Content-type: text/plain; format=flowed; delsp=yes; charset=iso-8859-1 Content-transfer-encoding: 7BIT User-Agent: Opera M2/7.54 (FreeBSD, build 751) References: <41BDBC4B.40505@nefli.nl> <41BECEB7.3000405@nefli.nl> Subject: Re: FreeBSD 5.3-RELEASE + JDK1.4 native in a Jail -> hangs 99% cpuon kserel X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Dec 2004 20:32:58 -0000 On Tue, 14 Dec 2004 12:29:59 +0100, Joris Verschoor wrote: > Ronald Klop wrote: > >> Try to check how many open files you have. > > kern.ipc.numopensockets: 109 > kern.openfiles: 184 > >> And if you do kill -3 (or kill -QUIT) check the log files of the java >> app. > > When I do al kill -3, it goes in the loop > >> How many tcp connections do have to your db-server? Do you have a >> connection leak somewhere? > > > I don't think there's a leak in my code. It runs fine on my windows box. > I'll disable my webapp, so only the resin-doc will be active.. This doesn't sound like your out of resources, which was what the exception stated. Can you find out what resource the exception is trying to get? Maybe use truss to find out which system call is returning an out-of-resources error. Ronald. -- Ronald Klop, Amsterdam, The Netherlands