You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Alan Fullmer <li...@xnote.com> on 2006/01/19 22:20:56 UTC
lock files are not being deleted
Is Spamassassin supposed to automatically delete lock files when completed?
I am just wondering why so many files are created, some timestamps are from
the previous day.
My log files show the following:
Jan 19 14:17:06 mail spamd[22166]: debug: lock: 22166 trying to get lock on
/home/filter/.spamassassin/bayes with 3 retries
Jan 19 14:17:06 mail spamd[22167]: debug: lock: 22167 trying to get lock on
/home/filter/.spamassassin/bayes with 3 retries
Jan 19 14:17:06 mail spamd[22164]: debug: lock: 22164 trying to get lock on
/home/filter/.spamassassin/bayes with 7 retries
Jan 19 14:17:06 mail spamd[22168]: debug: lock: 22168 trying to get lock on
/home/filter/.spamassassin/bayes with 6 retries
Jan 19 14:17:08 mail spamd[22164]: debug: lock: 22164 trying to get lock on
/home/filter/.spamassassin/bayes with 9 retries
Jan 19 14:17:08 mail spamd[22164]: Cannot open bayes databases
/home/filter/.spamassassin/bayes_* R/W: lock failed: File exists
It then has several files such as: bayes.lock.mail.domain.com.21886
Is this a sign that a process is not completing? Just curious if anyone
has an idea.
Thanks in advance
Alan Fullmer
www.xnote.com
www.zoobuh.com
RE: lock files are not being deleted
Posted by Gary V <mr...@hotmail.com>.
>Is Spamassassin supposed to automatically delete lock files when completed?
>I am just wondering why so many files are created, some timestamps are from
>the previous day.
>
>My log files show the following:
>
>Jan 19 14:17:06 mail spamd[22166]: debug: lock: 22166 trying to get lock on
>/home/filter/.spamassassin/bayes with 3 retries
>Jan 19 14:17:06 mail spamd[22167]: debug: lock: 22167 trying to get lock on
>/home/filter/.spamassassin/bayes with 3 retries
>Jan 19 14:17:06 mail spamd[22164]: debug: lock: 22164 trying to get lock on
>/home/filter/.spamassassin/bayes with 7 retries
>Jan 19 14:17:06 mail spamd[22168]: debug: lock: 22168 trying to get lock on
>/home/filter/.spamassassin/bayes with 6 retries
>Jan 19 14:17:08 mail spamd[22164]: debug: lock: 22164 trying to get lock on
>/home/filter/.spamassassin/bayes with 9 retries
>Jan 19 14:17:08 mail spamd[22164]: Cannot open bayes databases
>/home/filter/.spamassassin/bayes_* R/W: lock failed: File exists
>
>
>It then has several files such as: bayes.lock.mail.domain.com.21886
>
>
>Is this a sign that a process is not completing? Just curious if anyone
>has an idea.
>
>Thanks in advance
>
>Alan Fullmer
Are you using the default NFS-safe locking system? If so, consider flock:
http://spamassassin.apache.org/full/3.1.x/dist/doc/Mail_SpamAssassin_Conf.html#miscellaneous_options
Gary V
_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today - it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/