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
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
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
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