Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Feb 2007 00:50:17 -0500
From:      Mike Tancsa <mike@sentex.net>
To:        Francisco Reyes <lists@stringsutils.com>
Cc:        freebsd-isp@freebsd.org
Subject:   Re: Clamav replacement for FreeBSD+postfix?
Message-ID:  <i2hat2l2ml6q1bfhv1t8ja63ghu5jdkocv@4ax.com>
In-Reply-To: <cone.1171556679.453588.55347.1000@zoraida.natserv.net>
References:  <cone.1171556679.453588.55347.1000@zoraida.natserv.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 15 Feb 2007 11:24:39 -0500, in sentex.lists.freebsd.isp you
wrote:
>
>Clamav freezes often. Reading archives, seems this is not so rare=20
>in FreeBSD.
>
>This is for an ISP, so experiences on other ISPs or large setups (ie =
over=20
>100,000 emails per day) would be most welcome.

We found changing the threading lib helped a lot with stability.  (ie
clamd  would be locking up throughout the day under load without the
change). Its been stable for over a month this way on our boxes (well
over 100K emails daily)

Compile as normal and add the following to libmap.conf

% cat /etc/libmap.conf
[clamd]
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


However, in the last day we have seen the daemon exiting with a sig6
using the default clamav-devel port.  My guess some new spam or virus
hitting a bug.  Not sure yet.  Removing

--enable-experimental

from the ports Makefile seems to have helped that issue as well.

	---Mike

--------------------------------------------------------
Mike Tancsa, Sentex communications http://www.sentex.net
Providing Internet Access since 1994
mike@sentex.net, (http://www.tancsa.com)



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