Safe to use bogofilter over NFS?

David Relson relson at osagesoftware.com
Thu Nov 18 13:16:32 CET 2004


On Thu, 18 Nov 2004 12:25:07 +0100
Matthias Andree wrote:

......[snip]...

> It is not "make check" that is different, but versions 0.93.0 and
> newer are different from 0.92.8, as is detailed in the RELEASE.NOTES.
> I may need to add a note about NFS.
> 
> Bogofilter up to 0.92.8 used the simple Berkeley DB Data Store, which
> we need to lock against concurrent use - there can only be at most one
> writer, or at most N readers at the same time, but not mixed.
> 
> Bogofilter up to 0.92.8 could be configured (by setting an environment
> variable) to use the "concurrent" datastore which was never properly
> documented and didn't work across NFS.
> 
> Bogofilter 0.93.0 and newer use the Berkeley DB Transactional Data
> Store, which writes a Berkeley DB environment - and _this_ does not
> work with the database in NFS.
> 
> While it is theoretically possible to put the database files into NFS,
> the environment (__db.* and log.* files) must be in a filesystem local
> to the server running the applications or test. I am not sure if
> bogofilter can currently handle that, never tried.

Correct me if I'm wrong, but transactions are needed when reads and
write must be supported concurrently.  If NFS usage is restricted to
read-only operations, then there are no problems.



More information about the Bogofilter mailing list