Re: Limit the size of spamd
by Mike Jackson other posts by this author
Jun 15 2005 1:30PM messages near this date
Re: Limit the size of spamd
|
bayes_seen file of 340MB
> We are an isp that currently runs through either qmail-scanner or Plesk
> spamassassin. 2.6x and i believe 3.x. We are having issues with spamd
> getting into the 125+mb process size at 4 to 5 processes. We are running
> from Fedora to FreeBSD 4.9+ and qmail is the MTA. I have looked and have
> not been able to find a way to limit scanning to to messages <1mb. Any
> help would be greatly appreciated.
Investigate the --max-conn-per-child and --max-children command line flags
for spamd. While not directly addressing the issue of SA processes expanding
to consume all available memory, --max-conn-per-child will at least kill and
restart a child after x number of messages, which definitely does the trick
for me. I have --max-conn-per-child set to 10, and --max-children set to 5.
SA only processes about 600 messages per day, but with a full complement of
SARE rules, it keeps the SA processes down to a trim 40-60MB per process.
Mike Jackson
Tech Administrator, Datahost
www.datahost.com
Thread:
Network Operations
Matt Kettler
Ronan McGlue
Mike Jackson
|