we had to setup a separate server to run the spam filter. it was killing our machine as well. I tyink you're going to find most mail servers have spamd running on another system.
Frank On Wed, 25 Feb 2004, Ralf Naegele wrote: > Date: Wed, 25 Feb 2004 13:17:05 +0100 (CET) > From: Ralf Naegele <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: spamd eats my memory > > Hello, > > I'm running SA in a combination of "sendmail -> smtp-vilter -> spamd" some > weeks with almost no problems. But today spamd killed my machine with 1 GB > of Memory. spamd really ate all memory including the swap space so I had to > cold reboot the machine. First I ran spamd with the parameter -m10 but now > I reduced it to -m5 since I thought this could help. But the load is still > very high (between 2 and 19). Does anybody have a hint how to reduce the > memory usage on a high load mail server? Another idea was to exclude > completely some mails from spam checking, since I get a lot of status > reports by mail, which have no need for spam checking, but I haven't found > a hint for some according options? I tried "trusted_networks", > "whitelist_to" and "whitelist_from" as parameters in the local.cf but as far > as I could see in the logfiles, the SA will anyhow invoked. > Another idea of mine was to reduce the maximum message size (option -s of > spamc). But I haven't a glue how spamd invokes spamc so I can set this > option? > > Any help would be nice. > > Regards, > Ralf > ----------------------------------------------------------------------- Frank DeChellis Internet Access Worldwide 3 East Main Street Welland, Ontario, Canada L3B 3W4 905-714-1400 fax 905-732-0524 www.iaw.com ----------------------------------------------------------------------
