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

Adam Denenberg writes:
>Thanks justin.  is there a way to prevent the rebuild (or expire) from
>happening on the nfs client side?  i would rather script a frequent
>rebuild/expire on the nfs server side, and just let the clients do their
>thing.  I get the following error if a mail has not been seen in a
>while, just want to be safe.  thanks

Yep, add a line to local.cf like so:

        bayes_auto_expire       0

on the clients.  In fact, with a db that size, you might as well add
that everywhere, on the server too, and just run them under manual
control with ulimits set appropriately.

- --j.

>@400000003fc0e54b132f953c debug: bayes: found bayes db version 2
>@400000003fc0e54b13707a84 debug: bayes: expiry check keep size, 75% of
>max: 375000
>@400000003fc0e54b1374a104 debug: bayes: token count: 1083315, final goal
>reduction size: 708315
>@400000003fc0e54b13796f7c debug: bayes: First pass?  Current:
>1069606209, Last: 1069545211, atime: 0, count: 0, newdelta: 0, ratio: 0
>@400000003fc0e54b137d95fc debug: bayes: something fishy, calculating
>atime (first pass)
>@400000003fc0e5793a3f9924 Out of memory!
>
>thanks
>adam
>
>On Mon, 2003-11-24 at 15:25, Justin Mason wrote:
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>> 
>> 
>> Adam Denenberg writes:
>> >Hey,
>> >
>> > How are people handling the locking issues with Bayes over NFS on a
>> >high traffic mail server?  Currently i have "bayes_learn_to_journal 1
>> >" turned on, but an sa-learn --rebuild seems to be taking quite some
>> >time (i have about a million tokens in my DB).
>> >
>> >Has anyone had a better success rate (or better idea) for high volume
>> >nfs locking using bayes and the "learn to journal" option?
>> 
>> Hi Adam --
>> 
>> Using learn-to-journal is definitely the way to go.  You could try running
>> the rebuild on the NFS server... that should be quite a bit faster.
>> 
>> Fundamentally, a million-token db is a lot of work for an NFS server ;)
>> 
>> - --j.
>> -----BEGIN PGP SIGNATURE-----
>> Version: GnuPG v1.2.2 (GNU/Linux)
>> Comment: Exmh CVS
>> 
>> iD8DBQE/wmkrQTcbUG5Y7woRAvYUAJ9XUUjkE2M8uqx8EG7gpwSyA2AYzgCg2vU/
>> EpRM4KxWKio4hz9dzxv2dAI=
>> =arcI
>> -----END PGP SIGNATURE-----
>> 
>> 
>> 
>> -------------------------------------------------------
>> This SF.net email is sponsored by: SF.net Giveback Program.
>> Does SourceForge.net help you be more productive?  Does it
>> help you create better code?  SHARE THE LOVE, and help us help
>> YOU!  Click Here: http://sourceforge.net/donate/
>> _______________________________________________
>> Spamassassin-talk mailing list
>> [EMAIL PROTECTED]
>> https://lists.sourceforge.net/lists/listinfo/spamassassin-talk
>> 
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
Comment: Exmh CVS

iD8DBQE/wm5ZQTcbUG5Y7woRAmIVAKCR7Rgyx7mXpTxVEry0949j5GPfDQCgsl/U
0vDYQCHxYXH8D2f9DHlcxR4=
=S2DJ
-----END PGP SIGNATURE-----



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to