On Mon, Jan 18, 1999 at 11:56:30AM +0900, SHUDO Kazuyuki wrote:
> [EMAIL PROTECTED](Herbert Xu) wrote:
> 
> >     We have an Java application here that uses around 3000 file
> > descriptors at once.
> 
> > Unfortunately, the
> > JVM (117) under Linux is trying to select over >1024 file descriptors, which
> > is causing a core dump.
> 
> I think that it is a wrong behavior to cause a core
> dump, but the limitation results from your kernel.

No it is not.  We're using 2.2.0-pre6 with the kernel fdset enlarged to 10240
fds.  The problem is that the JVM is using select(2), which uses arrays whose
sizes are fixed at compile time.  poll(2) solves that problem, so that is why
we are asking for a version of the JVM that uses it.

Obviously if we recompile the JVM with a libc that uses a larger fd_set, it
should work as well.  But since we don't have the source code, this isn't
really possible.

-- 
Debian GNU/Linux 2.0 is out! ( http://www.debian.org/ )
Email:  Herbert Xu ~{PmV>HI~} <[EMAIL PROTECTED]>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

Reply via email to