> Thanks so much. Unfortunately, I don't see much change in my CPU usage by spamd. I am > at a loss, as I've spent almost an entire day reading old mailing list threads and the > wiki, but no one has seemed to post anything concrete as to why spamd would eat so much > CPU (in my case, it spikes to as much as 35%, so running 5 max children really taxes my
I think there are several theories on SA processor usage. 1. bayes expire 2. bayes expire jorrnal bug 3. Some rule with something like an .* in it that is looping like mad on certain text patterns. 4. Something else. If you are getting suddenly huge bayes journals along with your processor usage, it is #2. If SA is taking 2-5 minutes randomly, and repeating on the same mail message doesn't have the same result, it may be #1. If SA is taking a long time to process a specific message every time, it is probably #3. The first thing is to try to determine whether you are seeing spikes or constant heavy load. I think you are implying that you see spikes. The next thing to do is to try to figure out of the spikes correlate with certain messages, with certian times, or occur randomly. You can also check for the bayes journal bug fairly easily. If you end up with a particular message that eats the processor alive, you probably also have a bad rule that is the real culprit. DProf I believe it is should perhaps be able to track the problem down to the rule if you have an example message. Loren