cannot open databases, lock failed, file exists

Pelletier, Robert pelletierr at csdhr.qc.ca
Tue Oct 25 19:44:50 CEST 2011


Yes, it won't be deleted. This is created by spamassassin when it auto-learns mail it scanned.

I'd recommend you to move this data to a MySQL database.

This article could help you do it. http://www.starbridge.org/spip/spip.php?article15 

Good luck!

-----Message d'origine-----
De : amavis-users-bounces+pelletierr=csdhr.qc.ca at amavis.org [mailto:amavis-users-bounces+pelletierr=csdhr.qc.ca at amavis.org] De la part de Alex
Envoyé : 25 octobre 2011 13:41
À : amavis-users at amavis.org
Objet : cannot open databases, lock failed, file exists

Hi,

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?

Thanks,
Alex


More information about the amavis-users mailing list