-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Martin Hepworth writes:
> Forest
> 
> depends on which machines update the bayes DB. From what I understand 
> the current idea is to nfs mount the bayes DB's readonly so only one 
> system updates it (the one where it's on a local filesystem).
> 
> The problem seems to be with file locking on writes.

The problem is more file writes in general.  Locking is implemented
in an NFS-safe way, but DB writes over NFS are *extremely* slow
and heavy on the network.

I'd suggest even keeping 1 machine as the "master" bayes DB, do sa-learns
there by hand, and copy out DBs onto the "slave" servers which do
the scanning.  Each "slave" has a copy of the bayes DB on their
local disk, which is overwritten periodically by the master.

- --j.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Exmh CVS

iD8DBQFARijNQTcbUG5Y7woRAinnAKDfl33zRco2oUPgczsf/nJ0gkc0ewCfdJeK
m+xIyu0qhFWWKuWw8+Y3/zQ=
=Jf/T
-----END PGP SIGNATURE-----

Reply via email to