I asked this a few weeks ago, with no response.

What I have been able to gather is that a system wide db will work ok
using a cluster of many mail servers, as long the bayes db is only being
read. I have seen the bayes db create stuck lock files on just one box
with 100 spamd processes running (spamd can run 100 processes with enought
memory/CPU). I am guessing that autolearn and autowhitelist has very
little chance of succeeding in this sort of setup, so I would suggesst:

bayes_path              /path/to/nfs/global/bayes
bayes_auto_learn        0

and NOT use the '-a' flag with your spamd instance. I am using ldap, so my
spamd flags are:

-d -m 100 -s local1 --socketpath=/var/lib/spamassassin/spamd.sock -u \
<virtmailuser> --virtual-config-dir=/path/to/nfs/spamrules/%f/%u -x

(I hacked spamd so I could put indivudual user prefs in
<first_letter>/<username> (e.g. /path/to/nfs/spamrules/u/user)to prevent
getting 65,000+ files per directory. Gave the patch to the maintainers,
but I don't think they were impressed.

If anyone running SA in larger cluster environments has any other great
ideas, lets hear them! I am tiring of the Habeas and DSL TOS threads.


Andreas

On Thu, 15 Jan 2004, Rocky Olsen wrote:

> Date: 15 Jan 2004 14:37:47 -0700
> From: Rocky Olsen <[EMAIL PROTECTED]>
> To: "[EMAIL PROTECTED]"
>     <[EMAIL PROTECTED]>
> Subject: Re: [SAtalk] Bayes NFS safe?
>
> I too would greatly appreciate any information - as we have 9 boxes
> doing Spam scanning. Anyone tried this?
>
>
> On Thu, 2004-01-15 at 13:31, Mike Jackson wrote:
> > If you have multiple SA filtering boxes, is it safe to NFS-mount a partition
> > with a system-wide Bayesian database and share it across all the boxes? In
> > our setup, we have three boxes dedicated to doing SA filtering, all running
> > the same version of FreeBSD, and it sure would be nice to be able to do this
> > because the SQL-based Bayesian filtering doesn't quite look ready for prime
> > time.
> >
> > Mike Jackson
> > Technical Manager, efn.org
> > www.efn.org
> >
> >
> >
> >
> > -------------------------------------------------------
> > The SF.Net email is sponsored by EclipseCon 2004
> > Premiere Conference on Open Tools Development and Integration
> > See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
> > http://www.eclipsecon.org/osdn
> > _______________________________________________
> > Spamassassin-talk mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/spamassassin-talk
>
>
>
>
> -------------------------------------------------------
> The SF.Net email is sponsored by EclipseCon 2004
> Premiere Conference on Open Tools Development and Integration
> See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
> http://www.eclipsecon.org/osdn
> _______________________________________________
> Spamassassin-talk mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/spamassassin-talk
>


-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to