[Dovecot] nfs error fcntl(read-lock) locking failed for file

Timo Sirainen tss at iki.fi
Sat Mar 10 18:53:38 EET 2012


On 7.3.2012, at 4.22, Rajesh M wrote:

> on server number 1 i get errors as such
> Error: fcntl(read-lock) locking failed for file Input/output error
> squirrelmail gives error imap connection closed and i am not able to login
> 
> 
> so i set the parameters as such in the dovecot conf file and the error
> stopped
> 
> mmap_disable=yes
> dotlock_use_excl = yes
> lock_method = dotlock
> 
> can somebody please advise me if the above is correct ?

That should work.

> or is it preferred to use fcntl with lockd

That would probably be more efficient.

> (note that my mailbox is maildir format)

The fcntl locking is used for Dovecot index files, not for maildir files.



More information about the dovecot mailing list