On Wed, 14 Jun 2006, Chris Santerre wrote:
-----Original Message-----
From: Duane Hill [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 14, 2006 9:16 AM
To: users@spamassassin.apache.org
Subject: Loading Rules - Possible Memory Issue
Don't know if someone can point me in a direction to look or not. I'm
using SA through a third-party plugin for our MTA. This is running on
FreeBSD 6.0 with SA v3.1.1 on Perl v5.8.7.
As soon as I move aproximately 520K of rules into the
directory with the
local.cf and restart the plugin, messages start to pile up in
the MTA's
queue. If I move the rules out and restart the plugin,
everything resumes
to normal. The server has plenty of resources available to handle
everything.
I'm suspecting it's the plugin and how it forks child processes. It
doesn't reuse the child processes. Once the child process is
finished, it
is eventually cleaned up.
If I was able to get a plugin set in to use spamd, would I be
seeing the
same results?
IIRC, Um...520k of rules seems like an awful lot! Could be one rule, could
be several. Use the law of halfs. Take half the rules, place them in, test.
If it does bog the server down, cut that set in half, test. Continue
half'ing until you find the culprit. Post the rule(s) here and we can try to
help.
Ok. One of the rule sets were a custom set I created. The file size was
322K. I will have to go back into the rule set and use my learned regex
experience in the past month and trim it down.
I also have a couple rule sets that have the full set loaded from
rulesemporium. I will be going back in and just loading a few of the
smaller parts instead.
I think what it boils down to is just getting carried away.
Thanks for the response. This is still relatively new with running our MTA
on FreeBSD. It was migrated away from Windows about three weeks ago.
--
"This message was sent using 100% recycled electrons."