Re: [SAtalk] bayes.lock getting killed on a LONG sa-learn run

2003-12-31 Thread Jonas Eckerman
On Mon, 29 Dec 2003 12:20:33 -0500, Kris Deugau wrote: > IMHO, kernel-level file locks are far cleaner, but I don't know > whether you can even do that cleanly with files accessed through > DB_File. :/ That might depend on your OS. If perl supports the flag O_EXLOCK on your platform (I only k

Re: [SAtalk] bayes.lock getting killed on a LONG sa-learn run

2003-12-29 Thread Scott Lambert
On Mon, Dec 29, 2003 at 12:20:33PM -0500, Kris Deugau wrote: > IMHO, kernel-level file locks are far cleaner, but I don't know whether > you can even do that cleanly with files accessed through DB_File. :/ Kernel locks don't work so well with NFS shared directories. -- Scott Lambert

Re: [SAtalk] bayes.lock getting killed on a LONG sa-learn run

2003-12-29 Thread Kris Deugau
Larry Rosenman wrote: > I just had my nice Bayes DB killed on a sa-learn that had 1300+ > messages in it. > > What seemed to happen is the bayes.lock file got deleted by some > spamd process EVEN THOUGH sa-learn WAS STILL ALIVE. Most programs that use a separate file as a lock indicator (rather t

[SAtalk] bayes.lock getting killed on a LONG sa-learn run

2003-12-24 Thread Larry Rosenman
I just had my nice Bayes DB killed on a sa-learn that had 1300+ messages in it. What seemed to happen is the bayes.lock file got deleted by some spamd process EVEN THOUGH sa-learn WAS STILL ALIVE. perl -v This is perl, v5.8.0 built for i386-unixware Copyright 1987-2002, Larry Wall Perl may be co