You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@spamassassin.apache.org by bu...@bugzilla.spamassassin.org on 2004/04/05 20:32:56 UTC
[Bug 3242] New: need NFS-*unsafe* locker for unix
http://bugzilla.spamassassin.org/show_bug.cgi?id=3242
Summary: need NFS-*unsafe* locker for unix
Product: Spamassassin
Version: SVN Trunk (Latest Devel Version)
Platform: Other
OS/Version: other
Status: NEW
Severity: normal
Priority: P5
Component: Libraries
AssignedTo: spamassassin-dev@incubator.apache.org
ReportedBy: jm@jmason.org
We're currently using NFS-safe locking code for the bayes dbs on UNIX platforms.
This is very wastefully slow when NFS is not in use. We should provide a
simple fcntl-based locker for the "dbs on local fs only" case.
Can this locker be used by default? What's the lock-safety status of modern
NFS impls?
If it's still pretty unsafe, we'll have to keep the nfs-safe version the
default, and activate this if the user specifies a config param. (note that
activating it if the fs is mounted as a non-NFS fstype is still not a safe
assumption, since the setup could be that 1 scanning machine hosts the fs and
several others use the same fs over nfs.)
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.