From owner-freebsd-java@FreeBSD.ORG Thu Oct 30 08:48:38 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 D6A0316A4CE for ; Thu, 30 Oct 2003 08:48:37 -0800 (PST) Received: from sccrmhc13.comcast.net (sccrmhc13.comcast.net [204.127.202.64]) by mx1.FreeBSD.org (Postfix) with ESMTP id 96FE643FAF for ; Thu, 30 Oct 2003 08:48:36 -0800 (PST) (envelope-from rootman22@comcast.net) Received: from 12-209-185-111.client.attbi.com ([12.209.185.111]) by comcast.net (sccrmhc13) with SMTP id <2003103016483501600s44a3e>; Thu, 30 Oct 2003 16:48:35 +0000 From: Joe Warner To: Antony T Curtis Date: Thu, 30 Oct 2003 09:48:30 -0700 User-Agent: KMail/1.5.4 References: <200310250821.24466.rootman22@comcast.net> <200310251702.27618.rootman22@comcast.net> <1067126895.4901.3.camel@pcgem.rdg.cyberkinetica.com> In-Reply-To: <1067126895.4901.3.camel@pcgem.rdg.cyberkinetica.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200310300948.30566.rootman22@comcast.net> cc: java@freebsd.org Subject: Re: Java Processes 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, 30 Oct 2003 16:48:38 -0000 On Saturday 25 October 2003 06:08 pm, Antony T Curtis wrote: > On Sun, 2003-10-26 at 00:02, Joe Warner wrote: > > On Saturday 25 October 2003 09:04 am, Antony T Curtis wrote: > > > On Sat, 2003-10-25 at 15:21, Joe Warner wrote: > > > > Hi, > > > > > > > > Does anyone know how to control the number of Java processes that get > > > > spawned when running one of the variants in /usr/ports/java..? I'm > > > > running linux-ibm-jdk1.3.1 and when I launch > > > > /usr/local/linux-ibm-jdk1.3.1/bin/java it spawns 5 processes of java > > > > and it's bringing my system to it's knees! There was an older version > > > > that I used to run that only spawned 1 process and my system could > > > > handle it fine. > > > > > > Each thread in a Linux binary becomes 1 process under FreeBSD. > > > > > > > I've looked through the supplied documentation, this list and even > > > > Google and can't find any instructions on how to limit these > > > > processes. > > > > > > Try using -classic option. > > > > What kind of option is that? Java command line or make option? > > The first option on the java command line. > > Alternatively, you can use JDK1.3 (Diablo) on FreeBSD, it will only > create one process. Ok, here's an update on this.. The -classic command option had no effect so I installed /usr/ports/java/ diablo-jdk13 and it's been rock solid all week. 8^) Thanks for all your help on this! Joe