Devilish Entity wrote: > Well, before all, here is my config : > > nowhere:~# linuxinfo > Linux nowhere 2.6.18-4-k7 #1 SMP Wed May 9 23:42:01 UTC 2007 > One AMD Unknown 1300MHz processor, 2601.92 total bogomips, 95M RAM > System library 2.3.6 > OS : Debian Etch > > > I use qmail + jms patch (lastest version (on 2007/06/07)) > and as frontend simscan 1.3.1 using ClamaV & Spamassassin (spamd & > spamc scanning) As theo suggested, you need to get more ram to get SA to run well.
In the meantime, you might want to consider these measures to cut down your memory loading: 1) reduce the number of spamd children in spamd's -m parameter. 2) disable the AWL and bayes. While powerful, these two features are memory hungry. 3) if you've got any add-on rulesets, make sure you get rid of any "big" rulesets. In your case, keep it to a very minimal set. Maybe 80k total of add-on .cf files. 4) dig around your system and disable any daemons you're not actually using. ie: if you don't run a website, make sure httpd isn't running. >From there, check your memory load with the "free" command. Ideally you want swap used to be much less than "mem +buffers/cache" free. For example on my test box: total used free shared buffers cached Mem: 492152 390900 101252 0 83896 125092 -/+ buffers/cache: 181912 310240 Swap: 1015800 30484 985316 I've got 30,484 K of swap used. However, I've got 310,240k of memory free when you count buffers and cache, over 10 times as much memory. I try to keep it at least doubled. Swap usage itself isn't bad, as the OS will tend to swap out rarely used things to make a larger disk cache. However, if there's a lot of swap, and not a lot of cache, you're probably overloaded and wasting a lot of time thrashing pages in and out of the swap. > >