On Tuesday 02 August 2005 06:28 pm, Chris wrote:
> >On Monday 01 August 2005 08:39 pm, Erylon Hines wrote:
> >
> > Nope, and I'm still going slow.  Spamd is using up to 85% of my cpu
> > cycles and 12% of my memory.  I'm going to start to remove some rulesets
> > and see if I can't locate the problem.
> > This might take a while.
>
> Here is a snapshot of spamd's cpu usage:
>
> Cpu(s): 70.7% us,  4.7% sy,  0.0% ni, 23.7% id,  0.0% wa,  0.3% hi,  0.7%
> si Mem:    516044k total,   378348k used,   137696k free,    11764k buffers
> Swap:   626492k total,   100348k used,   526144k free,    85336k cached

> Here is a link to the SA archives, you may find your answer by searching
> here:
>
> http://marc.theaimsgroup.com/?l=spamassassin-users&r=1&w=2
>
> HTH

Thanks for that tip.  Your rulesets aren't that different from mine (I have 
backhair, weeds, and a couple more that you don't).  All my DNS checks are 
disabled.
Looking at the SA archives, it appears that the algorithm was changed for ver. 
3.0.1 on so that the load would be more evenly shared among the child 
processes.  This may not work for a system with lower memory and weak cpu.  I 
may have to experiment with turning this feature off so that the first 
process max's out first, then the 2nd, etc., like in the earlier versions.  
Meantime, I've lowered my maximum processes to 3 and my clients_per_child to 
10 (from 200).  Hopefully, this will conserve memory.  I've noticed when 
spamd has to swap is when my system bogs (no surprise there), so less 
children should be less swap.  This is a desktop system, so the spam load is 
not very high.  I've been using SA for a long time without problems, and ver 
2.6x is still going strong on my wife's machine, so it is definitely 
something with 3.x.  On her machine, missed spam is practically zero, and she 
gets over a hundred messages a day.  My corpus is not that large, so SA 
misses a few on mine, but not many, and I'd like to keep using it.

e


____________________________________________________
Want to buy your Pack or Services from Mandriva? 
Go to http://store.mandriva.com
Join the Club : http://www.mandrivaclub.com
____________________________________________________

Reply via email to