cannot open databases, lock failed, file exists

Alex mysqlstudent at
Tue Oct 25 19:40:50 CEST 2011


I have a spamassassin-v3.3.2, amavisd-2.6.6 on fedora15. I'm working
on trying to do some performance tuning. During the normal course of
operation, I have the following messages in the logs:

Oct 25 13:31:36 mail02 amavis[20312]: (20312-01-30) _WARN: bayes:
cannot open bayes databases /var/spool/amavisd/.spamassassin/bayes_*
R/W: lock failed: File exists

Is this a result of having too many amavisd processes running at once?

I have a quad-core Intel Xeon processor, with the mail server running
in a kvm that is otherwise idle, and have set up a maximum of 8
amavisd processes, as well as 8 smtpd processes.

When I stopped amavisd, it didn't delete the lock files. Is this expected?


More information about the amavis-users mailing list