From owner-freebsd-isp@FreeBSD.ORG Fri Feb 16 06:20:28 2007 Return-Path: X-Original-To: freebsd-isp@freebsd.org Delivered-To: freebsd-isp@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BB84E16A400 for ; Fri, 16 Feb 2007 06:20:28 +0000 (UTC) (envelope-from mike@sentex.net) Received: from smarthost2.sentex.ca (smarthost2.sentex.ca [205.211.164.50]) by mx1.freebsd.org (Postfix) with ESMTP id 8F74313C428 for ; Fri, 16 Feb 2007 06:20:28 +0000 (UTC) (envelope-from mike@sentex.net) Received: from BLUELAPIS.sentex.ca (cage.simianscience.com [64.7.134.1]) by smarthost2.sentex.ca (8.13.8/8.13.8) with SMTP id l1G5o6lm078598; Fri, 16 Feb 2007 00:50:07 -0500 (EST) (envelope-from mike@sentex.net) From: Mike Tancsa To: Francisco Reyes Date: Fri, 16 Feb 2007 00:50:17 -0500 Message-ID: References: In-Reply-To: X-Mailer: Forte Agent 1.93/32.576 English (American) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Cc: freebsd-isp@freebsd.org Subject: Re: Clamav replacement for FreeBSD+postfix? X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Feb 2007 06:20:28 -0000 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)