Clamav-90_2 Lockup with freebsd 6.2
Sergey N. Voronkov
serg at tmn.ru
Tue Feb 27 04:11:42 UTC 2007
On Mon, Feb 26, 2007 at 10:05:35PM -0500, Mike Tancsa wrote:
> At 07:12 PM 2/26/2007, Dimuthu Parussalla wrote:
> >Clamav-90_2 Lockup with freebsd 6.2
> >Still under load clamav_90_2 locks up with high cpu usage. Had to downgrade
> >the port to 88.7_1 to get the server going. Sockstat shows lots of open
> >sockets from clamd.
> >I am using simscan+Qmail+Clamav.
> >Any Ideas to solve this problem?.
> Change the threading lib. It fixed it for us.
> % cat /etc/libmap.conf
> libc_r.so.5 libthr.so.2
> libc_r.so.6 libthr.so.2
> libthr.so.2 libthr.so.2
> libpthread.so.1 libthr.so.2
> libpthread.so.2 libthr.so.2
Or limit MaxThreads to one:
# grep MaxT /usr/local/etc/clamd.conf
Looks like there are some bugs on thread usage into 0.90. It locks on
FreeBSD and Solaris at least. (May be threading is much more linux specific
in comparation to 0.88.7).
More information about the freebsd-stable