From owner-freebsd-java@FreeBSD.ORG Thu Mar 4 13:55:28 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 90C7016A4CE for ; Thu, 4 Mar 2004 13:55:28 -0800 (PST) Received: from mighty.grot.org (66-117-150-96.web.lmi.net [66.117.150.96]) by mx1.FreeBSD.org (Postfix) with ESMTP id 840AF43D41 for ; Thu, 4 Mar 2004 13:55:28 -0800 (PST) (envelope-from aditya@grot.org) Received: by mighty.grot.org (Postfix, from userid 515) id 6B8125D6A; Thu, 4 Mar 2004 21:55:28 +0000 (GMT) Resent-From: aditya@grot.org Resent-Date: Thu, 4 Mar 2004 16:55:28 -0500 Resent-Message-ID: <20040304215528.GA69117@mighty.grot.org> Resent-To: java@freebsd.org Date: Thu, 4 Mar 2004 16:16:22 -0500 From: Aditya To: java@freebsd.org Message-ID: <20040304211622.GA68561@mighty.grot.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Subject: Diablo 1.3.1 JVM runs out of file descriptors at 1021 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: Thu, 04 Mar 2004 21:55:28 -0000 I'm using the Diablo 1.3.1 JVM package from www.freebsdfoundation.org on a 4.9-STABLE machine and it unfortunately seems to exhibit the bug described at: http://developer.java.sun.com/developer/bugParade/bugs/4189011.html interestingly enough, the linux 1.3.1_02 JVM under a 4.6-STABLE machine does not exhibit the problem. Is there an updated Diablo (diablo-jdk-noplugin-1.3.1.0 Java Development Kit 1.3.1 is what I'm running) that has this fixed or is my only recourse, other than compiling from source, to run under linux emulation? On the Diablo JVM machine (test.java is the program suggested in the bug report): nine[ttyp2]:aditya~> /usr/local/diablo-jdk1.3.1/bin/java test 3000 1 1 test Starting 1078434190431 Opened test0000001020.tst Thread: 0 test0000001021.tst (Too many open files) java.io.FileNotFoundException: test0000001021.tst (Too many open files) Aborting 1078434221065 nine[ttyp2]:aditya~> /usr/local/diablo-jdk1.3.1/bin/java -version java version "1.3.1" Java(TM) 2 Runtime Environment, Standard Edition (build diablo-1.3.1-0) Classic VM (build diablo-1.3.1-0, green threads, nojit) nine[ttyp2]:aditya~> limit cputime unlimited filesize unlimited datasize 524288 kbytes stacksize 65536 kbytes coredumpsize unlimited memoryuse unlimited vmemoryuse unlimited descriptors 11095 memorylocked unlimited maxproc 5547 sbsize unlimited And the following on a 4.6-STABLE machine running a 1.3.1_02 JVM under linux emulation (linux-jdk-1.3.1.02_1 Sun Java Development Kit 1.3 for Linux): two[ttyp2]:aditya~> java test 3000 1 1 test Starting 1078434145154 Closing 1078434235337.tst Thread: 0 two[ttyp2]:aditya~> java -version java version "1.3.1_02" Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1_02-b02) Classic VM (build 1.3.1_02-b02, green threads, nojit)