From owner-freebsd-java@FreeBSD.ORG Thu Mar 18 01:12:44 2004 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2268E16A4CE for ; Thu, 18 Mar 2004 01:12:44 -0800 (PST) Received: from diomedes.noc.ntua.gr (diomedes.noc.ntua.gr [147.102.222.220]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5587E43D1F for ; Thu, 18 Mar 2004 01:12:43 -0800 (PST) (envelope-from past@noc.ntua.gr) Received: from ajax.noc.ntua.gr (ajax.noc.ntua.gr [147.102.220.1]) i2I9Ceo1008016; Thu, 18 Mar 2004 11:12:41 +0200 (EET) (envelope-from past@noc.ntua.gr) Received: from noc.ntua.gr (hal.noc.ntua.gr [147.102.220.45]) by ajax.noc.ntua.gr (8.12.11/8.12.11) with ESMTP id i2I9CcHf029316; Thu, 18 Mar 2004 11:12:39 +0200 (EET) (envelope-from past@noc.ntua.gr) Message-ID: <40596806.4000808@noc.ntua.gr> Date: Thu, 18 Mar 2004 11:12:38 +0200 From: Panagiotis Astithas Organization: NTUA/NMC User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.6) Gecko/20040313 X-Accept-Language: el, en-us, en MIME-Version: 1.0 To: Nick Gieczewski References: <011a01c40bc3$cd534050$0200a8c0@rescue> In-Reply-To: <011a01c40bc3$cd534050$0200a8c0@rescue> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: clamd / ClamAV version devel-20040310, clamav-milter version 0.67j cc: freebsd-java@freebsd.org Subject: Re: java.net.SocketException: Too many open files X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Mar 2004 09:12:44 -0000 Nick Gieczewski wrote: > I have written a small program that attempts to open 2,048 concurrent > connections to the server in oder to reproduce this. On my FreeBSD > box, the thread dies with the above exception at 500-600 open > connections. When running the server application on Win32, on the > other hand, I'm able to open all the 2,048 connections without a > hitch. Hello, would you mind posting your small test program? It would help shed some light I think. Cheers, -- Panagiotis Astithas Electrical & Computer Engineer, PhD Network Management Center National Technical University of Athens, Greece