From owner-freebsd-java@FreeBSD.ORG Fri Mar 19 08:07:39 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 BA2A516A4CE for ; Fri, 19 Mar 2004 08:07:39 -0800 (PST) Received: from mgr2.xmission.com (mgr2.xmission.com [198.60.22.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id 71DC943D39 for ; Fri, 19 Mar 2004 08:07:39 -0800 (PST) (envelope-from glewis@eyesbeyond.com) Received: from [198.60.22.208] (helo=mgr8.xmission.com) by mgr2.xmission.com with esmtp (Exim 3.35 #1) id 1B4MX4-0001hF-02; Fri, 19 Mar 2004 09:07:38 -0700 Received: from [166.70.56.15] (helo=misty.eyesbeyond.com) by mgr8.xmission.com with esmtp (Exim 4.30) id 1B4MWy-0004M2-Ql; Fri, 19 Mar 2004 09:07:32 -0700 Received: from misty.eyesbeyond.com (localhost.eyesbeyond.com [127.0.0.1]) i2JG7V5G002723; Fri, 19 Mar 2004 09:07:31 -0700 (MST) (envelope-from glewis@eyesbeyond.com) Received: (from glewis@localhost) by misty.eyesbeyond.com (8.12.10/8.12.10/Submit) id i2JG7UJI002722; Fri, 19 Mar 2004 09:07:30 -0700 (MST) (envelope-from glewis@eyesbeyond.com) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Fri, 19 Mar 2004 09:07:29 -0700 From: Greg Lewis To: "C. Kukulies" Message-ID: <20040319160729.GA2605@misty.eyesbeyond.com> References: <200403191102.i2JB2RKx027479@www.kukulies.org> Mime-Version: 1.0 Content-Disposition: inline In-Reply-To: <200403191102.i2JB2RKx027479@www.kukulies.org> User-Agent: Mutt/1.4.2.1i Content-Type: text/plain; charset=us-ascii X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on mgr8.xmission.com X-Spam-Level: X-Spam-Status: No, hits=0.0 required=8.0 tests=none autolearn=no version=2.63 X-SA-Exim-Mail-From: glewis@eyesbeyond.com X-SA-Exim-Version: 3.1 (built Mon Jan 26 13:00:24 MST 2004) X-SA-Exim-Scanned: Yes cc: freebsd-java@freebsd.org Subject: Re: tomcat41 producing 28 java daemons 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: Fri, 19 Mar 2004 16:07:39 -0000 On Fri, Mar 19, 2004 at 12:02:27PM +0100, C. Kukulies wrote: > when running tomcat41 (ports, 5.2.1) I'm getting about > 28 of these: > 782 p3 I 0:08.76 /usr/local/linux-blackdown-jdk1.4.1/bin/java -jar -Dc > 783 p3 S 0:00.00 /usr/local/linux-blackdown-jdk1.4.1/bin/java -jar -Dc > 784 p3 S 0:01.26 /usr/local/linux-blackdown-jdk1.4.1/bin/java -jar -Dc > 785 p3 I 0:00.01 /usr/local/linux-blackdown-jdk1.4.1/bin/java -jar -Dc > 786 p3 I 0:00.02 /usr/local/linux-blackdown-jdk1.4.1/bin/java -jar -Dc > 787 p3 S 0:00.11 /usr/local/linux-blackdown-jdk1.4.1/bin/java -jar -Dc > 788 p3 I 0:00.00 /usr/local/linux-blackdown-jdk1.4.1/bin/java -jar -Dc > 789 p3 I 0:00.00 /usr/local/linux-blackdown-jdk1.4.1/bin/java -jar -Dc > 790 p3 I 0:01.60 /usr/local/linux-blackdown-jdk1.4.1/bin/java -jar -Dc > 795 p3 S 0:00.03 /usr/local/linux-blackdown-jdk1.4.1/bin/java -jar -Dc > 797 p3 I 0:00.00 /usr/local/linux-blackdown-jdk1.4.1/bin/java -jar -Dc > 798 p3 I 0:00.00 /usr/local/linux-blackdown-jdk1.4.1/bin/java -jar -Dc > 799 p3 I 0:00.00 /usr/local/linux-blackdown-jdk1.4.1/bin/java -jar -Dc > 800 p3 I 0:00.00 /usr/local/linux-blackdown-jdk1.4.1/bin/java -jar -Dc > 801 p3 I 0:00.00 /usr/local/linux-blackdown-jdk1.4.1/bin/java -jar -Dc > 802 p3 I 0:00.00 /usr/local/linux-blackdown-jdk1.4.1/bin/java -jar -Dc > > Is this normal? Yes. The linux emulator emulates the clone() based threads of Linux kernels from 2.2 through 2.4 (NPTL of 2.6 would only show up as one thread). In that approach each thread shows up as a separate process. If you don't want this then switch to the native 1.4.2 JDK and you'll only see the one process. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org