Re: [exim] Autoreply database on NFS

Pàgina inicial
Delete this message
Reply to this message
Autor: Philip Hazel
Data:  
A: Anthony de Boer
CC: exim-users
Assumpte: Re: [exim] Autoreply database on NFS
On Mon, 27 Nov 2006, Anthony de Boer wrote:

> The question is whether the reply-once database is NFS-safe. Tracing
> through the code/docs/Google, it appears that the autoreply transport
> will use tdb, and that tdb uses fcntl() locking, which should work (if
> slowly) on NFS provided that locking support is available. Since
> autoreply volume should be a drop in the bucket compared to normal mail
> volume, performance implications shouldn't be an issue.


If you have an NFS file store that is accessed by more than one host,
the only safe locking technique is to use lock files. Using fcntl()
isn't good enough. There is a long discussion about this in the comments
in the code file src/transports/appendfile.c in the Exim source,
starting around line 1483.

-- 
Philip Hazel            University of Cambridge Computing Service
Get the Exim 4 book:    http://www.uit.co.uk/exim-book