6.2-Release and Clamd 0.90 with libpthread.so

Daniel Eischen deischen at freebsd.org
Tue Feb 20 18:21:04 UTC 2007


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


More information about the freebsd-threads mailing list