From owner-freebsd-java@FreeBSD.ORG Mon Oct 27 07:08:36 2003 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 8C94216A4B3 for ; Mon, 27 Oct 2003 07:08:36 -0800 (PST) Received: from ndsuext.nodak.edu (ndsuext.NoDak.edu [134.129.92.73]) by mx1.FreeBSD.org (Postfix) with ESMTP id 57D2243FBF for ; Mon, 27 Oct 2003 07:08:35 -0800 (PST) (envelope-from echriste@ndsuext.nodak.edu) Received: from dyn231.iacc-tm4.ndsu.NoDak.edu (dyn231.iacc-tm4.ndsu.NoDak.edu [134.129.92.231]) by ndsuext.nodak.edu (8.11.6/8.11.6) with ESMTP id h9RF88E01598; Mon, 27 Oct 2003 09:08:10 -0600 From: Eric To: Alexey Zelkin In-Reply-To: <20031023122839.A75570@phantom.cris.net> References: <20031023122839.A75570@phantom.cris.net> Content-Type: text/plain Message-Id: <1067267282.6889.10.camel@dyn231.iacc-tm4.ndsu.nodak.edu> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Mon, 27 Oct 2003 09:08:03 -0600 Content-Transfer-Encoding: 7bit X-NDSUAG-MailScanner-Information: Please contact the ISP for more information X-NDSUAG-MailScanner: Found to be clean cc: java@freebsd.org Subject: Re: jdk14 fork() problem fix 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: Mon, 27 Oct 2003 15:08:36 -0000 On Thu, 2003-10-23 at 04:28, Alexey Zelkin wrote: > hi, > > This is an intermediate version of fix of jdk fork problem (i.e. > Runtime.getRuntime().exec() and friends). > > It does affect only people who use libc_r (kse and thr should not > be affected). > > Please try this one and report me if it fixes problems for you. I've seen this problem with an application at work that spawns a large number of external processes using Runtime.getRuntime().exec(). Prior to this patch, I couldn't even get our nightly run to complete without hanging. After patching and rebuilding, I've run it three times without any hangs. Incidentally, this has been a problem with various Sun JDKs running under Linux also. Sun fixed it once and then broke it again (or broke something that caused a similar problem) in a later revision. I'm excited! Maybe now I can switch my workstation back to FreeBSD. This bug has forced to run Linux (and an old JDK) for the last 6 months or so. Thanks, Eric -- Eric