Date: Tue, 20 Feb 2007 11:39:45 -0500 (EST) From: Daniel Eischen <eischen@vigrid.com> 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.0702201138080.12034@sea.ntplx.net> In-Reply-To: <20070220153632.E4139@godot.imp.ch> References: <20070220153632.E4139@godot.imp.ch>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.64.0702201138080.12034>