LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 01-04-2014, 12:08 PM   #1
plisken
Member
 
Registered: Dec 2001
Location: Scotland
Distribution: Slackware 9.1-15 RH 6.2/7, RHEL 6.5 SuSE 8.2/11.1, Debian 10.5
Posts: 516

Rep: Reputation: 32
spamassassin taking a minute to check SMALL message


ok, so after numerous tests on a new(ish) system, I'm finding that scans are taking up to a minute on very small mails.

Could someone please give me an indication on production machines how long scans are taken?

on mine, I'm pulling this information from /var/log/maillog or typically cat /var/log/maillog | grep "seconds"

I had been running spamassassin on an older mahicne (PII) for years and noticed it gradually grind to a near halt and simply assumed it was the hardware v more recent versions of spamassassin but on this new(er) machine, I'm finding the same.

new machine spec: Sunfire X2100m Slack 14 64 4 gb
old machine spec: Dell Poweredge (2xPII) Slack 9.1 512mg


Any pointers as to where to look for this issue would be appreciated.
Example below (old machine):

Code:
Jan  4 15:48:23 morpheus spamd[9935]: spamd: clean message (-2.5/5.0) for thomas2:1010 in 83.1 seconds, 9603 bytes.
Jan  4 16:08:27 morpheus spamd[9935]: spamd: identified spam (38.3/2.8) for plisken:1000 in 83.5 seconds, 1793 bytes.
Jan  4 16:08:29 morpheus spamd[9935]: spamd: identified spam (12.8/5.0) for thomas2:1010 in 1.5 seconds, 986 bytes.
Jan  4 16:38:40 morpheus spamd[9935]: spamd: identified spam (9.5/2.0) for plumper:1001 in 80.5 seconds, 766 bytes.
Jan  4 16:40:47 morpheus spamd[9935]: spamd: identified spam (32.2/2.8) for plisken:1000 in 1.1 seconds, 1864 bytes.
Jan  4 17:04:36 morpheus spamd[9935]: spamd: identified spam (37.6/2.8) for plisken:1000 in 81.2 seconds, 1790 bytes.
Jan  4 17:09:02 morpheus spamd[9935]: spamd: identified spam (5.1/2.8) for plisken:1000 in 1.8 seconds, 13177 bytes.
Jan  4 17:43:25 morpheus spamd[9935]: spamd: clean message (-1.0/2.8) for plisken:1000 in 80.4 seconds, 734 bytes.
Jan  4 18:11:43 morpheus spamd[9935]: spamd: clean message (-1.0/2.8) for plisken:1000 in 80.4 seconds, 739 bytes.
Jan  4 19:04:28 morpheus spamd[9935]: spamd: clean message (-102.9/2.8) for plisken:1000 in 81.5 seconds, 1016 bytes.
Example below (new(er) machine):

Code:
Dec 31 14:25:24 orion spamd[1901]: spamd: clean message (0.8/5.0) for plisken:1000 in 18.2 seconds, 896 bytes.
Dec 31 14:26:19 orion spamd[1436]: spamd: clean message (0.8/5.0) for plisken:1000 in 0.1 seconds, 896 bytes.
Dec 31 14:26:30 orion spamd[1436]: spamd: clean message (0.8/5.0) for plisken:1000 in 0.1 seconds, 896 bytes.
Dec 31 14:35:01 orion spamd[1436]: spamd: clean message (-1.0/5.0) for plisken:1000 in 0.1 seconds, 684 bytes.
Jan  2 16:37:09 orion spamd[1436]: spamd: clean message (-1.0/5.0) for plisken:1000 in 18.1 seconds, 741 bytes.
Jan  2 16:38:45 orion spamd[7225]: spamd: clean message (-1.0/5.0) for plisken:1000 in 0.1 seconds, 746 bytes.
Jan  2 16:41:01 orion spamd[7225]: spamd: clean message (-1.0/5.0) for plisken:1000 in 0.1 seconds, 746 bytes.
Jan  4 17:45:32 orion spamd[13130]: spamd: clean message (0.1/5.0) for plisken:1000 in 0.1 seconds, 1896 bytes.
Jan  4 17:46:20 orion spamd[13130]: spamd: clean message (-99.3/5.0) for plisken:1000 in 0.1 seconds, 2467 bytes.
Jan  4 17:47:15 orion spamd[13130]: spamd: clean message (-100.0/5.0) for plisken:1000 in 0.1 seconds, 2591 bytes.
Jan  4 17:48:24 orion spamd[13130]: spamd: clean message (-99.3/5.0) for plisken:1000 in 0.1 seconds, 2506 bytes.
Jan  4 17:57:25 orion spamd[13130]: spamd: clean message (-0.0/5.0) for plisken:1000 in 54.1 seconds, 955 bytes.
Jan  4 18:11:06 orion spamd[13130]: spamd: clean message (-0.0/5.0) for plisken:1000 in 54.1 seconds, 957 bytes.
Jan  4 18:11:48 orion spamd[13130]: spamd: identified spam (25.1/5.0) for plisken:1000 in 0.1 seconds, 1869 bytes.
Jan  4 18:12:41 orion spamd[13130]: spamd: clean message (-99.3/5.0) for plisken:1000 in 0.1 seconds, 2518 bytes.
Jan  4 18:14:22 orion spamd[13130]: spamd: clean message (-97.6/5.0) for plisken:1000 in 0.0 seconds, 1893 bytes.
Jan  4 18:17:11 orion spamd[13130]: spamd: clean message (2.4/5.0) for plisken:1000 in 0.0 seconds, 1891 bytes.
Jan  4 18:19:29 orion spamd[13335]: spamd: clean message (2.4/5.0) for plisken:1000 in 0.1 seconds, 1889 bytes.
Jan  4 18:21:25 orion spamd[13335]: spamd: clean message (2.4/5.0) for plisken:1000 in 0.0 seconds, 1890 bytes.
Jan  4 18:22:35 orion spamd[13335]: spamd: clean message (-97.6/5.0) for plisken:1000 in 0.0 seconds, 1901 bytes.
Jan  4 18:25:07 orion spamd[13335]: spamd: identified spam (13.7/5.0) for plisken:1000 in 0.1 seconds, 911 bytes.
Jan  4 18:29:21 orion spamd[13335]: spamd: clean message (0.1/5.0) for thomas2:1002 in 54.1 seconds, 1905 bytes.
Jan  4 18:30:48 orion spamd[13335]: spamd: clean message (0.1/5.0) for thomas2:1002 in 0.0 seconds, 1894 bytes.
Jan  4 18:32:32 orion spamd[13335]: spamd: clean message (0.6/5.0) for thomas2:1002 in 0.0 seconds, 767 bytes.
Jan  4 18:43:46 orion spamd[13335]: spamd: clean message (-1.0/5.0) for plumper:1004 in 54.2 seconds, 813 bytes.
Jan  4 19:01:40 orion spamd[13335]: spamd: identified spam (6.1/5.0) for plisken:1000 in 54.4 seconds, 28867 bytes.
Jan  4 19:12:51 orion spamd[13335]: spamd: clean message (4.0/5.0) for plisken:1000 in 54.1 seconds, 739 bytes.
Jan  4 19:12:52 orion spamd[13335]: spamd: identified spam (24.3/5.0) for plisken:1000 in 0.1 seconds, 1883 bytes.

Last edited by plisken; 01-04-2014 at 01:15 PM. Reason: more information about issue
 
Old 01-06-2014, 03:03 AM   #2
TenTenths
Senior Member
 
Registered: Aug 2011
Location: Dublin
Distribution: Centos 5 / 6 / 7
Posts: 3,475

Rep: Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553
Check all your spamassassin recipes and look for any that make external calls to things like online blacklists etc. If there's a recipe that uses a blacklist that no longer exists then SA may be sitting waiting / retrying lookups that are timing out.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Lilo bios data check takes more then a minute porphyry5 Slackware 6 06-20-2015 04:10 PM
Need help with script for check for a file that has changed in the last minute EclipseAgent Programming 10 02-12-2009 07:46 PM
Spamassassin ID Message. stomach Linux - Software 2 02-07-2006 07:19 PM
spamassassin rule based on message lenght? Red Squirrel Linux - Software 0 08-30-2005 09:41 PM
Taking ideas for a new (small) application CatSC Linux - Software 5 11-27-2003 05:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 09:17 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration