From owner-freebsd-threads@FreeBSD.ORG Wed Feb 21 01:05:42 2007 Return-Path: X-Original-To: freebsd-threads@freebsd.org Delivered-To: freebsd-threads@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 05D2816CF96; Wed, 21 Feb 2007 01:05:42 +0000 (UTC) (envelope-from mb@imp.ch) Received: from pop.imp.ch (mx2.imp.ch [157.161.9.17]) by mx1.freebsd.org (Postfix) with ESMTP id 9076913C428; Wed, 21 Feb 2007 01:05:41 +0000 (UTC) (envelope-from mb@imp.ch) Received: from dan.imp.ch (godot.imp.ch [157.161.4.8]) by pop.imp.ch (8.13.8/8.13.8/Submit_imp) with ESMTP id l1L15Zfq003611; Wed, 21 Feb 2007 02:05:35 +0100 (CET) (envelope-from mb@imp.ch) Date: Wed, 21 Feb 2007 02:05:35 +0100 (CET) From: Martin Blapp To: Daniel Eischen In-Reply-To: <20070221000830.V4139@godot.imp.ch> Message-ID: <20070221020335.Y4139@godot.imp.ch> References: <20070220153632.E4139@godot.imp.ch> <20070220174221.B4139@godot.imp.ch> <20070220190347.C4139@godot.imp.ch> <20070220225303.V4139@godot.imp.ch> <20070220234734.H4139@godot.imp.ch> <20070221000830.V4139@godot.imp.ch> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: rob@debank.tv, freebsd-threads@freebsd.org Subject: Re: 6.2-Release and Clamd 0.90 with libpthread.so X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Feb 2007 01:05:42 -0000 > Sigh, > >> >> Useing daemon(3) instead of fork seems to fix the problem. > > Of course deamon(3) calls fork, and after a short time I > had again the same ktrace output and CPU usage. Using daemon(3) works some times, but from time to time I see then again the old behaviour, looping kse calls and some forks(). I wonder why those calls never happen in the libthr and libc_r cases. Martin