From owner-freebsd-java Mon Nov 9 09:42:09 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA28235 for freebsd-java-outgoing; Mon, 9 Nov 1998 09:42:09 -0800 (PST) (envelope-from owner-freebsd-java@FreeBSD.ORG) Received: from ns.mt.sri.com (sri-gw.MT.net [206.127.105.141]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA28229; Mon, 9 Nov 1998 09:42:01 -0800 (PST) (envelope-from nate@mt.sri.com) Received: from mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by ns.mt.sri.com (8.8.8/8.8.8) with SMTP id KAA06046; Mon, 9 Nov 1998 10:41:46 -0700 (MST) (envelope-from nate@rocky.mt.sri.com) Received: by mt.sri.com (SMI-8.6/SMI-SVR4) id KAA04801; Mon, 9 Nov 1998 10:41:45 -0700 Date: Mon, 9 Nov 1998 10:41:45 -0700 Message-Id: <199811091741.KAA04801@mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Mahadevan Iyer Cc: 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 In-Reply-To: <36381ADB.DCCDAB3D@internetdevices.com> References: <36381ADB.DCCDAB3D@internetdevices.com> X-Mailer: VM 6.34 under 19.16 "Lille" XEmacs Lucid Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > I have a simple Server and Client pair > Server listens for connections on fixed port > Clients connect to the server on the port > > The Client opens N connections to the server and keeps them open > The Server sends data on each of these connections > The Client listens for data on each of these connections in a single > thread > > N > 250 causes the Client to dump core 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. In other news, I've got JDK1.1.7 built, and am wait on my testers to give me some feedback on it. The only testing I've done on it has been to make sure it compiles itself and actually 'run' the bug-report programs. Hopefully others will get a chance to run it through some Swing and/or AWT applications before it goes public. Nate ps. Again, *THANKS* for the great bug report which included the test application. This made tracking down the bug much easier. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message