[Dovecot] nfs error fcntl(read-lock) locking failed for file
hi
i am using qmailtoaster with dovecot version 2
mailbox format is maildir
i have a domain with around 5000 users which are distributed over 2 servers
webmail (squirrelmail) runs using dovecot v2 is being used from server number one
server number 2 had all the data stored in it and also has pop and smtp running from it. i am not using dovecot for pop as yet
on the server with dovecot i get such errors in the log file
access to data on server number 2 is via nfs
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 ?
or is it preferred to use fcntl with lockd (note that my mailbox is maildir format)
thanks very much for your help
rajesh
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.
participants (2)
-
Rajesh M
-
Timo Sirainen