[Dovecot] nfs_flush_fcntl failed: No locks available

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


On Fri, 2008-11-21 at 22:53 +0200, Timo Sirainen wrote:
> 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.

OK, I guess this'll do it:
http://hg.dovecot.org/dovecot-1.1/rev/d5772df47de4

-------------- 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/7e518507/attachment.bin 


More information about the dovecot mailing list