Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Feb 2007 13:21:02 -0500 (EST)
From:      Daniel Eischen <deischen@freebsd.org>
To:        Martin Blapp <mb@imp.ch>
Cc:        rob@debank.tv, freebsd-threads@freebsd.org
Subject:   Re: 6.2-Release and Clamd 0.90 with libpthread.so
Message-ID:  <Pine.GSO.4.64.0702201319230.12034@sea.ntplx.net>
In-Reply-To: <20070220190347.C4139@godot.imp.ch>
References:  <20070220153632.E4139@godot.imp.ch> <Pine.GSO.4.64.0702201138080.12034@sea.ntplx.net> <20070220174221.B4139@godot.imp.ch> <Pine.GSO.4.64.0702201145420.12034@sea.ntplx.net> <20070220190347.C4139@godot.imp.ch>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 20 Feb 2007, Martin Blapp wrote:

>
> Hi Daniel,
>
> Any idea how I can track this down ?

Try commenting out the fork() in daemonize().

Also try setting kern.threads.virtual_cpu=1 if you have
more than 1 cpu (this will limit it to 1 KSE).

> It's rather easy to reproduce ...
>
> fork() is only used in the functions daemonize() and in
> virusaction(), which is used to call an external programm
> if one is defined (I don't have one).
>
> So fork() should only be called once during going to be
> a background daemon.

-- 
DE



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.64.0702201319230.12034>