[Dovecot] nfs_flush_fcntl failed: No locks available

Mark Zealey Mark.Zealey at webfusion.com
Mon Nov 10 15:32:40 EET 2008

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:

# 1.1.6: /etc/dovecot.conf
# OS: Linux 2.6.18-92.el5 i686 CentOS release 5.2 (Final)
base_dir: /var/run/dovecot/
protocols: imap pop3
mail_location: maildir:~/Maildir
mmap_disable: yes
mail_nfs_storage: yes
mail_nfs_index: yes
lock_method: dotlock
maildir_copy_preserve_filename: yes
mbox_write_locks: dotlock

This happens for both pop and imap (however more frequently with imap).



Mark Zealey -- Shared Hosting Team Leader
Product Development * Webfusion
123-reg.co.uk, webfusion.co.uk, donhost.co.uk, supanames.co.uk

This mail is subject to http://www.gxn.net/disclaimer

More information about the dovecot mailing list