On 08/29/2012 01:32 PM, RW wrote:
On Wed, 29 Aug 2012 11:08:09 +0200
Leonardo Verzetti wrote:
I have an other question:
During the expire operation does the SA use the bayes db to check the
email or the SA works without use bayes?
I think it does continue using bayes.
IIWY I'd ignore any errors that occurred under autoexpiry, unless they
repeat under forced expiry. They may just be a symptom of an
autoexpiry not terminating cleanly under a timeout.
I disabled the auto expire restarted the spamassassin and manually run
the force expire but i have the same warning.
Do you think the lock it's when the SA try to write on db or when it try
to read the db for the bayes check?
Thanks
Leonardo
Aug 30 14:09:46.322 [7548] dbg: bayes: tie-ing to DB file R/O
/var/spamassassin/bayes_db/bayes_toks
Aug 30 14:09:46.322 [7548] dbg: bayes: tie-ing to DB file R/O
/var/spamassassin/bayes_db/bayes_seen
Aug 30 14:09:46.323 [7548] dbg: bayes: found bayes db version 3
Aug 30 14:09:46.323 [7548] dbg: bayes: DB journal sync: last sync:
1346328286
Aug 30 14:09:46.323 [7548] dbg: bayes: opportunistic call found journal
sync due
Aug 30 14:09:46.323 [7548] dbg: plugin:
Mail::SpamAssassin::Plugin::Bayes=HASH(0x8fbc020) implements
'learner_sync', priority
0
Aug 30 14:09:46.323 [7548] dbg: bayes: bayes journal sync starting
Aug 30 14:09:46.324 [7548] dbg: locker: mode is 438
Aug 30 14:09:46.324 [7548] dbg: locker: safe_lock: created
/var/spamassassin/bayes_db/bayes.mutex
Aug 30 14:09:46.324 [7548] dbg: locker: safe_lock: trying to get lock on
/var/spamassassin/bayes_db/bayes with 10 timeout
Aug 30 14:09:56.331 [7548] dbg: locker: safe_lock: timed out after 10
seconds
Aug 30 14:09:56.332 [7548] warn: bayes: cannot open bayes databases
/var/spamassassin/bayes_db/bayes_* R/W: lock failed:
Aug 30 14:09:56.332 [7548] dbg: bayes: bayes journal sync completed
Aug 30 14:09:56.332 [7548] dbg: config: score set 3 chosen.
Aug 30 14:09:56.333 [7548] dbg: config: time limit 300.0 s
SA logs:
warn: bayes: cannot open bayes databases
/var/spamassassin/bayes_db/bayes_* R/W: lock failed: Interrupted
system call info: prefork: child states:
BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBIBBIBBBBBBBBBBBBBBBBBIB
--
Leonardo Verzetti
Product Engineer
Shared Hosting Products
R&D - Dada.pro
leonardo.verze...@register.it