K Anand wrote:
>
>>
>> Also, with that much mail coming in at the same time, there could be
>> contention for bayes locks.  You might try adding
>> "bayes_learn_to_journal 1" to your local.cf, and see if that helps. This
>> will cause learning to be done into a "journal" file which periodically
>> gets merged into the main bayes DB. This causes the live bayes to be
>> delayed in update until the next sync (once a day or every 100k of bayes
>> data by default), but you can force-sync any manual training runs by
>> running sa-learn --sync afterwards.
>
> I don't have  "bayes_learn_to_journal 1" in my local.cf. But I see
> bayes_journal file in the bayes directory. So it must be default
> behaviour. As I had written , I do sa-learn --sync every hour .

By default SA does not learn to the journal. AFAIK, it only updates
atimes in the journal, by default.

Looking at BayeStore/DBM.pm, tok_touch always uses defer_update, even if
learn_to_journal is disabled.




Reply via email to