Am 27.01.2015 um 14:33 schrieb Axb:
On 01/27/2015 02:23 PM, Reindl Harald wrote:Am 27.01.2015 um 13:44 schrieb Matus UHLAR - fantomas:On 27.01.15 03:01, Reindl Harald wrote:with "bayes_auto_learn 0" there is no reason to lock the bayes database and the spamd-service should be happy with "ReadOnlyDirectories=/var/lib"the bayes databaase contains not only tokens, but also timestamps used for expiration. That's why you need to write to themwhich expiration? nobody expires or updates anything in a hand-maintained bayes use_bayes 1 bayes_auto_expire 0 bayes_auto_learn 0would this help? use_learner 0
no, it leads in not use bayes at all result: . -2 - ALL_TRUSTED scantime=0.1 result: . 0 - ALL_TRUSTED,BAYES_50 scantime=0.5 _________________________________________________not further tested if it also has an impact to sa-learn on the shell too - IMHO when "bayes_auto_expire", "bayes_auto_learn" and "bayes_learn_during_report" are all 0 there should be no locking
not only because the permissions, also because of wasted disk-IO _________________________________________________ that leads in bayes not used at all "use_learner 0" was the only difference to production use_learner 0 use_bayes 1 use_bayes_rules 1 bayes_use_hapaxes 1 bayes_expiry_max_db_size 2500000 bayes_auto_expire 0 bayes_auto_learn 0 bayes_learn_during_report 0 bayes_learn_to_journal 1
signature.asc
Description: OpenPGP digital signature