From owner-freebsd-java Mon Nov 9 09:54:21 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA29440 for freebsd-java-outgoing; Mon, 9 Nov 1998 09:54:21 -0800 (PST) (envelope-from owner-freebsd-java@FreeBSD.ORG) Received: from internetdevices.com (idi-fk-gw.abhiweb.com [205.138.236.250]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA29433; Mon, 9 Nov 1998 09:54:18 -0800 (PST) (envelope-from iyer@internetdevices.com) Received: from internetdevices.com (localhost [127.0.0.1]) by internetdevices.com (8.8.7/8.8.7) with ESMTP id JAA02824; Mon, 9 Nov 1998 09:50:12 -0800 (PST) Message-ID: <36472A9A.A1661625@internetdevices.com> Date: Mon, 09 Nov 1998 09:47:06 -0800 From: Mahadevan Iyer Organization: Internet Devices X-Mailer: Mozilla 4.05 [en] (Win95; U) MIME-Version: 1.0 To: Nate Williams CC: java-port@FreeBSD.ORG, freebsd-java@FreeBSD.ORG, saurabh@internetdevices.com, namit@internetdevices.com, iyer@internetdevices.com Subject: Re: Possible Bug in JVM socket code on FreeBSD, java.net.Socket References: <36381ADB.DCCDAB3D@internetdevices.com> <199811091741.KAA04801@mt.sri.com> Content-Type: multipart/alternative; boundary="------------2B26B08D439ED335EC740E05" Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org --------------2B26B08D439ED335EC740E05 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hello Nate, thanks for the feedback > 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. --------------2B26B08D439ED335EC740E05 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit Hello Nate,

thanks for the feedback
 

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.
  --------------2B26B08D439ED335EC740E05-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message