From owner-freebsd-questions@FreeBSD.ORG Mon Jul 7 16:08:41 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 680B037B401 for ; Mon, 7 Jul 2003 16:08:41 -0700 (PDT) Received: from mx1.au.itouchnet.net (nat2.au.itouchnet.net [144.135.23.100]) by mx1.FreeBSD.org (Postfix) with ESMTP id DF12B43F3F for ; Mon, 7 Jul 2003 16:08:39 -0700 (PDT) (envelope-from ajthomson@optushome.com.au) Received: from nobody by mx1.au.itouchnet.net with scanned_ok (Exim 3.36 #1) id 19Zf66-000OGw-00 for freebsd-questions@freebsd.org; Tue, 08 Jul 2003 09:08:38 +1000 Received: from athomson.prv.au.itouchnet.net ([192.168.13.55]) by mx1.au.itouchnet.net with esmtp (Exim 3.36 #1) id 19Zf65-000OGp-00 for freebsd-questions@freebsd.org; Tue, 08 Jul 2003 09:08:37 +1000 From: Andrew Thomson To: freebsd-questions@freebsd.org Content-Type: text/plain Message-Id: <1057619317.52026.28.camel@athomson.prv.au.itouchnet.net> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.0 Date: 08 Jul 2003 09:08:37 +1000 Content-Transfer-Encoding: 7bit X-Checked: Scanned for any viruses and unauthorized attachments at mx1.au.itouchnet.net X-iScan-ID: 93302-1057619318-40504@mx1.au.itouchnet.net version $Name: REL_2_0_2 $ Subject: spamassassin slow to process messages X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Jul 2003 23:08:41 -0000 I'm looking for some suggestions as to why my spamassassin is so slow! Installed from ports. Details: p5-Mail-SpamAssassin-2.55 5.0-RELEASE-p7 I'm running spamd and using spamc/procmail to pass the messages to spamd. I was reading the following, http://spamassassin.rediris.es/dist/spamd/README.spamd and it was talking with figures like: "Well, on my 400MHz K6-2 mail server, spamassassin process a 11689 byte message in about 3.36 seconds, spamc/spamd processes the same message in about 0.86 seconds, or about 4 times faster." I've got a CPU: Pentium III/Pentium III Xeon/Celeron (930.32-MHz 686-class CPU) and I'm seeing performance like, Jul 8 08:25:11 athomson spamd[52016]: clean message (0.4/5.0) for ajt:1001 in 10.2 seconds, 2132 bytes. Jul 8 08:25:27 athomson spamd[52031]: clean message (0.4/5.0) for ajt:1001 in 10.2 seconds, 2092 bytes. Jul 8 08:30:12 athomson spamd[52074]: identified spam (16.0/5.0) for ajt:1001 in 10.3 seconds, 3158 bytes. Jul 8 08:30:28 athomson spamd[52093]: clean message (-2.1/5.0) for ajt:1001 in 10.2 seconds, 2847 bytes. Jul 8 08:30:44 athomson spamd[52100]: clean message (0.4/5.0) for ajt:1001 in 10.2 seconds, 2133 bytes. Much smaller messages, taking much longer to process!! ajt.