From owner-freebsd-java@FreeBSD.ORG Thu Apr 1 17:00:38 2004 Return-Path: Delivered-To: freebsd-java@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7BFC616A4CF for ; Thu, 1 Apr 2004 17:00:38 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6B69C43D31 for ; Thu, 1 Apr 2004 17:00:38 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i3210bbv009747 for ; Thu, 1 Apr 2004 17:00:37 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.10/8.12.10/Submit) id i3210bDf009741; Thu, 1 Apr 2004 17:00:37 -0800 (PST) (envelope-from gnats) Resent-Date: Thu, 1 Apr 2004 17:00:37 -0800 (PST) Resent-Message-Id: <200404020100.i3210bDf009741@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-java@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Greg Lewis Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 99A5316A4CE for ; Thu, 1 Apr 2004 16:58:10 -0800 (PST) Received: from etrn.xmission.com (etrn.xmission.com [198.60.22.17]) by mx1.FreeBSD.org (Postfix) with ESMTP id 46A3C43D48 for ; Thu, 1 Apr 2004 16:58:10 -0800 (PST) (envelope-from glewis@misty.eyesbeyond.com) Received: from glewis.dsl.xmission.com ([166.70.56.15] helo=misty.eyesbeyond.com) by etrn.xmission.com with esmtp (Exim 4.22) id 1B9D0a-0002Oi-RL; Thu, 01 Apr 2004 17:58:08 -0700 Received: from misty.eyesbeyond.com (localhost.eyesbeyond.com [127.0.0.1]) i320w65G089212; Thu, 1 Apr 2004 17:58:06 -0700 (MST) (envelope-from glewis@misty.eyesbeyond.com) Received: (from glewis@localhost) by misty.eyesbeyond.com (8.12.10/8.12.10/Submit) id i320w5J6089209; Thu, 1 Apr 2004 17:58:05 -0700 (MST) (envelope-from glewis) Message-Id: <200404020058.i320w5J6089209@misty.eyesbeyond.com> Date: Thu, 1 Apr 2004 17:58:05 -0700 (MST) From: Greg Lewis To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 cc: Aditya Subject: java/65054: 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 Reply-To: Greg Lewis List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Apr 2004 01:00:38 -0000 >Number: 65054 >Category: java >Synopsis: Diablo 1.3.1 JVM runs out of file descriptors at 1021 >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-java >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Apr 01 17:00:37 PST 2004 >Closed-Date: >Last-Modified: >Originator: Greg Lewis >Release: FreeBSD 4.9-STABLE i386 >Organization: FreeBSD Project >Environment: System: FreeBSD 4.9-STABLE >Description: As posted on freebsd-java: 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) >How-To-Repeat: The test script the original poster used would be useful. We should also see if the same problem afflicts the current jdk13 port. Same problem may also affect the jdk12 and jdk14 ports (more testing is needed). >Fix: None yet known. >Release-Note: >Audit-Trail: >Unformatted: