Using the -m switch on spamd I think would be more effective since your traffic is light(less than one message per minute in a > 5 hour timeframe) and your memory is very tight. Keep your rule sets and set -m to 2 and see if it stays out of the swap (you may find that -m 1 even works for your load).
> -----Original Message----- > From: Arthur Kerpician [mailto:[EMAIL PROTECTED] > Sent: Wednesday, June 23, 2004 4:58 AM > To: [EMAIL PROTECTED] > Cc: [EMAIL PROTECTED] > Subject: Re: Memory usage > > Ralf Guenthner wrote: > > > > >> Hi all, > >> I'm using SA 2.60 with qmail both started through daemontools service > on > >> the same server (196MB RAM/256MB swap). The mail traffic is about > >> 250-300 > >> msgs/day. I'm also using 2 custom rulesets for SA. > >> When started, SA takes about 20MB of memory and as mail passes > >> through the > >> server it spawns several processes taking 15-30MB of memory, until the > >> machine freezes. > >> Is that normal? After a while, running 10-15 instances of spamd, all > >> system memory gets eaten. > >> Thanks for any hints to lower memory usage with spamd...if there are > >> any. > >> > >> Arthur > > > > > > Arthur, > > > > I recently posted to this list asking about the exact same problem. As > > others have pointed out this is a known problem with some > > installations. The solution I found to work for me is to reduce the > > number of custom rule sets (*.cf files) in /etc/mail/spamassassin and > > use the -m switch with spamd (limits number of spawned child procs). > > Search the archive, it's been discussed more than once. > > > > HTH > > Ralf G. > > > Thanks Ralf, > I already decreased the number of rulesets and it seems the memory usage > got better. > > -- > Arthur Kerpician > BlueChip Computers Srl > phone: +40 241 636644 > fax: +40 241 618593 > [EMAIL PROTECTED] > www.bluechip.ro
