From owner-freebsd-java  Thu Nov  2 10: 9:19 2000
Delivered-To: freebsd-java@freebsd.org
Received: from ns.yogotech.com (ns.yogotech.com [206.127.123.66])
	by hub.freebsd.org (Postfix) with ESMTP
	id 42E5337B4C5; Thu,  2 Nov 2000 10:09:16 -0800 (PST)
Received: from nomad.yogotech.com (nomad.yogotech.com [206.127.123.131])
	by ns.yogotech.com (8.9.3/8.9.3) with ESMTP id LAA19963;
	Thu, 2 Nov 2000 11:08:52 -0700 (MST)
	(envelope-from nate@nomad.yogotech.com)
Received: (from nate@localhost)
	by nomad.yogotech.com (8.8.8/8.8.8) id LAA27184;
	Thu, 2 Nov 2000 11:08:33 -0700 (MST)
	(envelope-from nate)
Date: Thu, 2 Nov 2000 11:08:33 -0700 (MST)
Message-Id: <200011021808.LAA27184@nomad.yogotech.com>
From: Nate Williams <nate@yogotech.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
To: Patrick Gardella <patrick@FreeBSD.ORG>
Cc: "Koster, K.J." <K.J.Koster@kpn.com>,
	"'Ilya Krel'" <ilya@krel.org>,
	"'FreeBSD Java mailing list'" <freebsd-java@FreeBSD.ORG>
Subject: Re: linux-jdk
In-Reply-To: <3A01AB62.1167911D@freebsd.org>
References: <59063B5B4D98D311BC0D0001FA7E4522026D7996@l04.research.kpn.com>
	<3A01AB62.1167911D@freebsd.org>
X-Mailer: VM 6.34 under 19.16 "Lille" XEmacs Lucid
Reply-To: nate@yogotech.com (Nate Williams)
Sender: owner-freebsd-java@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org

> > > I am running linux-jdk port 1.2.2
> > > Yesterday I upgraded my Free to 4.2 beta and now when i try
> > > to start any program in jdk i get :
> > > ./java
> > > Can't load library
> > > "/usr/local/linux-jdk1.2.2/jre/lib/i386/libjava.so",
> > > because /usr/local/linux-jdk1.2.2/jre/lib/i386/libjava.so: cannot
> > > open shared object file: Too many open files
> > > Could not create the Java virtual machine.
> > > jdk 1.8 works fine. I am not sure if the problem is in jdk or
> > > linux compat.
> 
> Neither, probably.
> 
> You might want to run df -I and see if you are using all of your
> inodes.  If
> you are not using all of your inodes then you may want to increase the
> MAXUSERS in your kernel config and recompile the kernel.
> 
> Or also try:
> 
> /sbin/sysctl kern.maxfiles 

My suspicion is that something with the recent crt* handling is causing
the JDK to keep re-opening a file recursively (failure or something).



Nate


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-java" in the body of the message