Database Lock

Niall Donegan niall at blacknight.ie
Mon Jan 22 13:50:07 CET 2007


Hi all,

One of our servers is currently backing up with email in the queue, and 
the only thing unusual I can spot in the logs is:

Jan 22 12:37:51 server MailScanner[12737]: database is locked(5) at 
dbdimp.c line 398
Jan 22 12:38:17 server MailScanner[12868]: database is locked(5) at 
dbdimp.c line 398
Jan 22 12:38:21 server MailScanner[12737]: database is locked(5) at 
dbdimp.c line 398
Jan 22 12:38:51 server MailScanner[12868]: database is locked(5) at 
dbdimp.c line 398

This is printed out once for each child process.

As far as I know, the database in question is probably 
/var/spool/MailScanner/Incoming/SpamAssassin.cache.db but I can't figure 
out why MailScanner is having such problems with it on this one server.

Has anyone any suggestions as to what could be causing the problem?

Thanks,
Niall.


More information about the MailScanner mailing list