[Dovecot] nfs_flush_fcntl failed: No locks available

Timo Sirainen tss at iki.fi
Fri Nov 21 22:53:58 EET 2008

On Mon, 2008-11-10 at 13:32 +0000, Mark Zealey wrote:
> Hi there,
> I've been seeing this error in our logs quite frequently on our nfs
> storage (v3):
> 2008-11-10T13:24:26+00:00 mail8 dovecot: IMAP(XXX at YYY.com):
> nfs_flush_fcntl: fcntl(/var/spool/mail/XXX/Maildir/dovecot.index.cache,
> F_RDLCK) failed: No locks available
> Which is because we don't run lockd on our servers. Why is dovecot
> trying to use fcntl() ? I explicitly set it to use dotlocks in the
> dovecot config:

mail_nfs_*=yes settings try to use fcntl for flushing data cache.
There's really no other way to do it on Linux. Although having
nano/microsecond resolution timestamps on NFS server probably would make
it irrelevant. Hmm.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20081121/58c42f35/attachment.bin 

More information about the dovecot mailing list