When I restart amavisd , the mail queue is getting bigger and bigger. 
When I run a spamassassin by hand, I get the folowing results.

[12489] dbg: locker: safe_lock: created 
/home/amavis/.spamassassin/bayes.lock.server.com.12489
[12489] dbg: locker: safe_lock: trying to get lock on 
/home/amavis/.spamassassin/bayes with 0 retries
[12489] dbg: locker: safe_lock: trying to get lock on 
/home/amavis/.spamassassin/bayes with 1 retries
[12489] dbg: locker: safe_lock: trying to get lock on 
/home/amavis/.spamassassin/bayes with 2 retries
[12489] dbg: locker: safe_lock: trying to get lock on 
/home/amavis/.spamassassin/bayes with 3 retries
[12489] dbg: locker: safe_lock: trying to get lock on 
/home/amavis/.spamassassin/bayes with 4 retries
[12489] dbg: locker: safe_lock: trying to get lock on 
/home/amavis/.spamassassin/bayes with 5 retries
[12489] dbg: locker: safe_lock: trying to get lock on 
/home/amavis/.spamassassin/bayes with 6 retries
[12489] dbg: locker: safe_lock: trying to get lock on 
/home/amavis/.spamassassin/bayes with 7 retries
[12489] dbg: locker: safe_lock: trying to get lock on 
/home/amavis/.spamassassin/bayes with 8 retries
[12489] dbg: locker: safe_lock: trying to get lock on 
/home/amavis/.spamassassin/bayes with 9 retries
[12489] warn: bayes: cannot open bayes databases 
/home/amavis/.spamassassin/bayes_* R/W: lock failed: File exists
[12489] dbg: bayes: bayes journal sync completed

When I delete the *lock* files from /home/amavis.spamassassin everything 
works good. (almost every time) sometimes I have to do a double restart 
to get things working again.

How can I prevent this ?

Greetings... Richard


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
AMaViS-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/

Reply via email to