#1  
Old 18th September 2008, 00:21
bwragg bwragg is offline
Member
 
Join Date: Jul 2006
Posts: 58
Thanks: 7
Thanked 3 Times in 2 Posts
Default spamassassin 100%

Hi,

I regularly have one or more spamassassin process on my ISPConfig system which run at 100% and I can't seem to see why. For example here is one I found this morning:

Code:
PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
8717 10076     25   0 72284  42m 2580 R  100  1.1   1:07.72 spamassassin
27710 10076     25   0 72208  42m 2580 R  100  1.1 502:29.76 spamassassin
As you can see one has been runing for 502 minutes. I know for sure I'm not under some type of spam attack, I've checked the maillog and no mail is coming in. The slow down from this is massive, we have a 2 dual core cpus and each process will add 25% load on the cpus, so if I have 3 of these runing top reports the total cpu usage is 75%. If I do a kill -9 on the processes they disappear and all is fine. But within a few hours another one is back there running at 100%.

Any idea what causes this to run like this? Were running Centos 4.6 and have applied the ispconfig mod so that we run clamd.

thanks,

bwragg

Last edited by bwragg; 18th September 2008 at 00:27.
Reply With Quote
Sponsored Links
  #2  
Old 18th September 2008, 11:22
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,177
Thanks: 829
Thanked 5,414 Times in 4,257 Posts
Default

Quote:
Any idea what causes this to run like this? Were running Centos 4.6 and have applied the ispconfig mod so that we run clamd.
Clamd and spamassassin are two completely different software packages, so if you run clamav as clamd or clamscan has no influence on spamassassin.

If you want to run spamassassin as spamd, install spamd from your linux distribution and the reconfigure the spamassassin procmail recipe in /root/ispconfig/isp/conf/ to use the spamd from your linux distribution.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 22nd September 2008, 01:44
bwragg bwragg is offline
Member
 
Join Date: Jul 2006
Posts: 58
Thanks: 7
Thanked 3 Times in 2 Posts
Default

Thanks till. I only mentioned the clamd update because I noticed that quite a few threads with this spamassassin problem suggested to upgrade the clamd as well.

From what you said here:

Quote:
If you want to run spamassassin as spamd, install spamd from your linux distribution and the reconfigure the spamassassin procmail recipe in /root/ispconfig/isp/conf/ to use the spamd from your linux distribution.
It sounds like spamd run more stable? Is there any negatives with configuring and using spamd instead of normal spamassassin binary?

cheers,

bwragg
Reply With Quote
  #4  
Old 22nd September 2008, 10:09
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,177
Thanks: 829
Thanked 5,414 Times in 4,257 Posts
Default

Quote:
It sounds like spamd run more stable?
This is not about stability. Spamd is just faster as it does not has to load the libraries again for every mail to be scanned.

Quote:
Is there any negatives with configuring and using spamd instead of normal spamassassin binary?
No.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 23rd September 2008, 01:34
bwragg bwragg is offline
Member
 
Join Date: Jul 2006
Posts: 58
Thanks: 7
Thanked 3 Times in 2 Posts
Default

Quote:
This is not about stability. Spamd is just faster as it does not has to load the libraries again for every mail to be scanned.
My original question was about stability. Spamassassin processes don't shutdown they build up until they take up 100% of my cpu (if I dont kill them). This is even when there is no mail coming in i.e nothing showing in the mail logs.

Any idea what causes it to run like this? Would setting up the system to run using a spamd process help?
Reply With Quote
  #6  
Old 23rd September 2008, 10:41
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,177
Thanks: 829
Thanked 5,414 Times in 4,257 Posts
 
Default

You should try spamd as I suggested.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
The Following User Says Thank You to till For This Useful Post:
bwragg (23rd September 2008)
Reply

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Spamassassin not installed? d31373 Installation/Configuration 3 24th March 2008 22:21
ISPconfig 2.2.21 Load Averange Very High mmiyamoto General 3 6th March 2008 13:13
I have SpamAssassin installed/working, if I install ISPConfig now will this break it? AlyK Installation/Configuration 1 3rd January 2008 11:04
Question on Clamscan and SpamAssassin AZMel Installation/Configuration 3 11th January 2007 19:56
config spamassassin hotchilli Server Operation 1 8th July 2006 12:03


All times are GMT +2. The time now is 20:15.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.