6.2-Release and Clamd 0.90 with libpthread.so

Daniel Eischen eischen at vigrid.com
Tue Feb 20 17:02:31 UTC 2007


On Tue, 20 Feb 2007, Martin Blapp wrote:

>
> Hi,
>
> After upgrading to clamd 0.90 I found that clamd
> doesn't work well with libpthread.so.2.
>
> Using libmap.conf entries for libthr.so.2 or libc_r.so.6
> worked fine. With both thread libraries clamd works as it
> should.
>
> The effect with libpthread is that clamd works very very slow.
> It's only able to scan 1-2 files in 5 seconds instead of
> 400-500 in the same time with libthr/libc_r.
>
> A ktrace shows the following behaviour:
>
> clamd 0.90 and libpthread.so.2
>
>  1735 clamd    RET   fork 0

Probably because it's fork()ing and trying to call
non-async-signal-safe functions without doing an exec()?

-- 
DE


More information about the freebsd-threads mailing list