From owner-freebsd-isp@FreeBSD.ORG Mon Feb 19 22:31:51 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 E484016E521 for ; Mon, 19 Feb 2007 22:31:51 +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 93B3513C48D for ; Mon, 19 Feb 2007 22:31:51 +0000 (UTC) (envelope-from mike@sentex.net) Received: from lava.sentex.ca (pyroxene.sentex.ca [199.212.134.18]) by smarthost2.sentex.ca (8.13.8/8.13.8) with ESMTP id l1JMVovL080191; Mon, 19 Feb 2007 17:31:50 -0500 (EST) (envelope-from mike@sentex.net) Received: from mdt-xp.sentex.net (simeon.sentex.ca [192.168.43.27]) by lava.sentex.ca (8.13.6/8.13.3) with ESMTP id l1JMVoWG022055 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 19 Feb 2007 17:31:50 -0500 (EST) (envelope-from mike@sentex.net) Message-Id: <200702192231.l1JMVoWG022055@lava.sentex.ca> X-Mailer: QUALCOMM Windows Eudora Version 7.1.0.9 Date: Mon, 19 Feb 2007 17:29:59 -0500 To: Francisco Reyes From: Mike Tancsa In-Reply-To: References: <200702172201.l1HM1BnR009915@lava.sentex.ca> <200702192021.l1JKLAkQ021489@lava.sentex.ca> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Cc: freebsd-isp@freebsd.org Subject: Re: 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: Mon, 19 Feb 2007 22:31:52 -0000 At 04:45 PM 2/19/2007, Francisco Reyes wrote: >Mike Tancsa writes: > >>Why do you need so much per server to do spam/virus scanning ? > >At several point in times (ie different clamav versions) clamav was >using more than 512MB and causing all kinds of problems because of >FreeBSD's default 512MB limit. We bumped the per program limit to >1.5MB and so far clamav has not exceeded that. Strange, our daemons dont grow that large. Are you using LDAP lookups or something like that compiled against it ? Looking at one box, running a dev version % clamd --version ClamAV devel-20070124/2607/Mon Feb 19 12:56:34 2007 Started Jan24th, its only at 119MB Its done about 94K messages today It usually hovers around 5-8 threads, depending on the time of day. Right now % ps -auxwwwH -p 13422 USER PID %CPU %MEM VSZ RSS TT STAT STARTED TIME COMMAND clamav 13422 7.7 5.6 119460 116084 ?? Ss 24Jan07 8019:23.77 /usr/local/sbin/clamd clamav 13422 5.7 5.6 119460 116084 ?? Ss 24Jan07 8019:23.77 /usr/local/sbin/clamd clamav 13422 4.3 5.6 119460 116084 ?? Ss 24Jan07 8019:23.77 /usr/local/sbin/clamd clamav 13422 0.9 5.6 119460 116084 ?? Ss 24Jan07 8019:23.77 /usr/local/sbin/clamd clamav 13422 0.0 5.6 119460 116084 ?? Ss 24Jan07 8019:23.77 /usr/local/sbin/clamd clamav 13422 0.0 5.6 119460 116084 ?? Ss 24Jan07 8019:23.77 /usr/local/sbin/clamd % ldd /usr/local/sbin/clamd /usr/local/sbin/clamd: libclamav.so.1 => /usr/local/lib/libclamav.so.1 (0x28085000) libz.so.3 => /lib/libz.so.3 (0x280e6000) libbz2.so.2 => /usr/lib/libbz2.so.2 (0x280f7000) libgmp.so.7 => /usr/local/lib/libgmp.so.7 (0x28108000) libpthread.so.2 => /usr/lib/libthr.so.2 (0x28136000) libc.so.6 => /lib/libc.so.6 (0x28148000) and a version .90 started last Friday shows 74MB of mem usage. ---Mike