Date: Mon, 9 Nov 1998 10:59:02 -0700 From: Nate Williams <nate@mt.sri.com> To: Mahadevan Iyer <iyer@internetdevices.com> Cc: Nate Williams <nate@mt.sri.com>, java-port@FreeBSD.ORG, freebsd-java@FreeBSD.ORG, saurabh@internetdevices.com, namit@internetdevices.com Subject: Re: Possible Bug in JVM socket code on FreeBSD, java.net.Socket Message-ID: <199811091759.KAA04986@mt.sri.com> In-Reply-To: <36472A9A.A1661625@internetdevices.com> References: <36381ADB.DCCDAB3D@internetdevices.com> <199811091741.KAA04801@mt.sri.com> <36472A9A.A1661625@internetdevices.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> > For what it's worth, I have tracked down this 'bug' and now know what > > the problem is. It's related to the select code used in FreeBSD > > limiting the JVM to 255 *total* file descriptors. Unfortunately, I > > don't (yet) have a way to increase the number of descriptors > > arbitrarily, so until we come up with a solution the limit is 250. > > > > Just to confirm that I understand the problem > > The select code used in the JVM limits the *total* file > descriptors > This is not a problem with the FreeBSD socket lib > > This is not a OS limit that can be tweaked. It is, but I don't know how to workaround the 'basic 255' limit in the JDK *code*. The OS is fully capable of handling thousands of FD's, but I do not (yet) know how to make the JDK source code take advantage of this. Hopefully I'll know soon though.... :) Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199811091759.KAA04986>