From owner-freebsd-java@FreeBSD.ORG Sat Oct 25 17:08:20 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 D9BCA16A4B3 for ; Sat, 25 Oct 2003 17:08:20 -0700 (PDT) Received: from mta05-svc.ntlworld.com (mta05-svc.ntlworld.com [62.253.162.45]) by mx1.FreeBSD.org (Postfix) with ESMTP id 847BA43FDF for ; Sat, 25 Oct 2003 17:08:19 -0700 (PDT) (envelope-from antony.t.curtis@ntlworld.com) Received: from [10.10.10.100] ([81.98.110.96]) by mta05-svc.ntlworld.com (InterMail vM.4.01.03.37 201-229-121-137-20020806) with ESMTP id <20031026000816.ECAA2197.mta05-svc.ntlworld.com@[10.10.10.100]>; Sun, 26 Oct 2003 01:08:16 +0100 From: Antony T Curtis To: Joe Warner In-Reply-To: <200310251702.27618.rootman22@comcast.net> References: <200310250821.24466.rootman22@comcast.net> <1067094267.4901.1.camel@pcgem.rdg.cyberkinetica.com> <200310251702.27618.rootman22@comcast.net> Content-Type: text/plain Message-Id: <1067126895.4901.3.camel@pcgem.rdg.cyberkinetica.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.4 Date: Sun, 26 Oct 2003 01:08:15 +0100 Content-Transfer-Encoding: 7bit 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: Sun, 26 Oct 2003 00:08:21 -0000 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. -- Antony T Curtis BSc Unix Analyst Programmer http://homepage.ntlworld.com/antony.t.curtis/