On Tue, Feb 15, 2005 at 10:33:30PM +0000, Andrew Suffield wrote:
> Package: spamassassin
> Severity: important
> 
> This happens at random intervals:
> 
> stat64("/home/asuffield/.spamassassin/bayes_toks.expire2054", 0xbffff580) = 
> -1 ENOENT (No such file or directory)
> open("/home/asuffield/.spamassassin/__db.bayes_toks.expire2054", 
> O_RDWR|O_CREAT|O_EXCL|O_LARGEFILE, 0600) = -1 EEXIST (File exists)
> open("/home/asuffield/.spamassassin/__db.bayes_toks.expire2054", 
> O_RDWR|O_CREAT|O_EXCL|O_LARGEFILE, 0600) = -1 EEXIST (File exists)
> open("/home/asuffield/.spamassassin/__db.bayes_toks.expire2054", 
> O_RDWR|O_CREAT|O_EXCL|O_LARGEFILE, 0600) = -1 EEXIST (File exists)
> stat64("/home/asuffield/.spamassassin/bayes_toks.expire2054", 0xbffff580) = 
> -1 ENOENT (No such file or directory)
> open("/home/asuffield/.spamassassin/__db.bayes_toks.expire2054", 
> O_RDWR|O_CREAT|O_EXCL|O_LARGEFILE, 0600) = -1 EEXIST (File exists)
> open("/home/asuffield/.spamassassin/__db.bayes_toks.expire2054", 
> O_RDWR|O_CREAT|O_EXCL|O_LARGEFILE, 0600) = -1 EEXIST (File exists)
> open("/home/asuffield/.spamassassin/__db.bayes_toks.expire2054", 
> O_RDWR|O_CREAT|O_EXCL|O_LARGEFILE, 0600) = -1 EEXIST (File exists)
> 
> (repeat endlessly)
> 
> Obviously the lock-and-create logic has gone badly wrong here
> somewhere. It's got to be something fairly obvious to be that badly
> wrong... the filenames in the stat() and open() calls don't even
> match. It doesn't appear to be related to the input data, so it's
> probably a race condition.

Could you provide any configuration files that might be relavent? I've
never seen files starting with __db.bayes_toks. Did you change your
Bayes database path?


-- 
Duncan Findlay

Attachment: signature.asc
Description: Digital signature

Reply via email to