Return-Path: Delivered-To: apmail-spamassassin-users-archive@www.apache.org Received: (qmail 22426 invoked from network); 11 Jun 2008 02:25:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 11 Jun 2008 02:25:20 -0000 Received: (qmail 55476 invoked by uid 500); 11 Jun 2008 02:25:11 -0000 Delivered-To: apmail-spamassassin-users-archive@spamassassin.apache.org Received: (qmail 55456 invoked by uid 500); 11 Jun 2008 02:25:11 -0000 Mailing-List: contact users-help@spamassassin.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@spamassassin.apache.org Received: (qmail 55445 invoked by uid 99); 11 Jun 2008 02:25:11 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Jun 2008 19:25:11 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [203.97.56.42] (HELO mail.manux.net.nz) (203.97.56.42) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Jun 2008 02:24:21 +0000 Received: (qmail 4415 invoked by uid 89); 11 Jun 2008 02:24:26 -0000 Received: by simscan 1.1.0 ppid: 4377, pid: 4378, t: 6.1732s scanners: attach: 1.1.0 clamav: 0.92.1 /m: spam: 3.1.7 X-Spam-Checker-Version: SpamAssassin 3.1.7 (2006-10-05) on tuatara.manux.net.nz X-Spam-Level: Received: from unknown (HELO bigguy.lhd.manux.co.nz) (203.167.202.2) by 0 with SMTP; 11 Jun 2008 02:24:20 -0000 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: HELP!! spamasssin killing my server Date: Wed, 11 Jun 2008 14:24:18 +1200 Message-ID: <20DCA88E5CF1CE418824A867074281D2010B947B@bigguy.lhd.manux.co.nz> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: HELP!! spamasssin killing my server Thread-Index: AcjLNO9jDZ59K10qQ+aQGU7QDcoW5AAMhl0A References: <17763488.post@talk.nabble.com> From: "Michael Hutchinson" To: "doktour1" , X-Virus-Checked: Checked by ClamAV on apache.org X-Old-Spam-Status: No, score=0.2 required=5.0 tests=AWL,BAYES_50 autolearn=no version=3.1.7 -----Original Message----- From: doktour1 [mailto:julian@perseus.peganet.com]=20 Sent: Wednesday, 11 June 2008 08:02 a.m. To: users@spamassassin.apache.org Subject: HELP!! spamasssin killing my server If I disable spamassassin in my procmail file. The server load goes down to 85 or less processes in a matter of mintues, but then tons of spam get through to my users. I am running freebsd 5.1 using sendmail and procmail running spamc (spamd loading at startup). The only thing that keeps the server from crashing is to throttle sendmail at 50 connections. But this is unworkable because it delays deliver of mail for several hours. PLEASE HELP IF YOU CAN, ANY ADVICE WOULD HELP SAVE MY SANITY --AS MY HAIR IS ALREADY GONE! Below is the spamd debug log, followed by all of the configuration files for spamassassin. Thank you! Here is a spamd debug log. ----------------------------------------------------------------------- I saw the message from Kevin, not only do you have fix the INET socket problem but there are other config issues too. Tue Jun 10 14:55:37 2008 [72096] dbg: spf: cannot load Mail::SPF module or create Mail::SPF::Server object: Can't locate Mail/SPF.pm in @INC (@INC contains: ... The problem above could be caused by a Perl upgrade, or Perl CPAN module installation, or outright hasn't worked since you set things up. Interestingly it falls back on a legacy module that works. But it is interesting, because what caused this could have caused other problems too. Tue Jun 10 14:55:40 2008 [72216] dbg: config: read_scoreonly_config: cannot open "/usr/home/orkids/.spamassassin/user_prefs": No such file or directory Hmmm. Tue Jun 10 14:55:40 2008 [72218] dbg: config: read_scoreonly_config: cannot open "/home/britt/.spamassassin/user_prefs": No such file or directory Hmmm. Tue Jun 10 14:55:40 2008 [72216] dbg: conf: trusted_networks are not configured; it is recommended that you configure trusted_networks manually Do what it says ^ I suggest you : - make sure your Black/Block Lists are working, test them manually if you have to. Make sure they don't take too much time to look up, if they do disable for now until you've got performance back. - Check for any Perl upgrade that may have happened recently and assess if you need to go back a version. - Check for any Perl Modules that might have been installed lately - this might seem silly but it could save SA. I have a file that Spamassassin doesn't require, that is a perl module. If it is copied into SA's search path, my scan times go from 7 seconds to 60 seconds plus. So Beware Be Warned. - Verify that DCC is working OK, do this manually. - Do you use CPAN ? Have you used it recently?=20 I had to hose my SA install thanks to a few modules being installed via CPAN. This was on Debian however, and if you don't apt-get these things, you can expect these problems. So there's a bit of work to tidy up, but the main one is the one Kevin was talking about with the "Could not create INET socket". Make sure you've set a good allowable amount of child processes. I use 10 on an HP DL380 2x3Ghz 2Gb RAM with no worries. HTH Cheers, Mike