From: Sunil S. <sh...@bo...> - 2005-12-09 10:05:36
|
Hi Greg, Quoting from Greg Lindahl's mail on Thu, Dec 08, 2005: > Due to the advent of spamassassin, I am no longer able to accept lots > of messages at once via fetchmail -- it causes my laptop to thrash. I > use sendmail -> procmail -> spamassassin, so using sendmail's load > average limit didn't really help the situation, since sendmail has no > idea it's kicked off a bunch of spamassassin processes that in a few > seconds will drive the load way up. (In this analysis I'm assuming that > it's only cpu time and not disk I/O which is causing the problem.) Are you invoking spamassassin directly from procmail? Or, are you using spamc+spamd? 1. If you are invoking spamassassin from procmail, please try starting spamd and then using spamc from procmail. 2. If you are invoking spamc from procmail, what are the options being passed to spamd? If the spamd option -m has a high value (more than 10), try reducing it to 5. 3. You can also use locking in procmail. If your recipe looks like this: ============================================= :0 | spamc ============================================= Change it to: ============================================= # Invoke only one spamc at a time :0 : $HOME/.spamc.lock | spamc ============================================= -- Sunil Shetye. |