mmap_disable=yes not honored always
Hi all,
I'm experimenting with having the mail store on a 9p file system that lacks mmap() functionality. So I disabled it in dovecot:
mmap_disable = yes
However, I keep getting the following error messages in my log:
Oct 15 16:55:00 computer-name dovecot: imap user@domain.com[192.168.1.3] Error: mmap() failed with file /mail/mailboxes/domain.com/user/indexpvt-accounts/other-user/mailboxes/INBOX/dovecot.index.pvt.log: Invalid argument
I only get those messages for the shared folder's private indexes. This setup works perfectly on an ext2/3/4 fs.
Any opinions, is this a bug? Is mmap_disable not mandatory for all operations?
Best regards,
Peter
On 10/15/2014 06:31 PM, Peter Benko wrote:
Hi all,
I'm experimenting with having the mail store on a 9p file system that lacks mmap() functionality. So I disabled it in dovecot:
mmap_disable = yes
However, I keep getting the following error messages in my log:
Oct 15 16:55:00 computer-name dovecot: imap user@domain.com[192.168.1.3] Error: mmap() failed with file /mail/mailboxes/domain.com/user/indexpvt-accounts/other-user/mailboxes/INBOX/dovecot.index.pvt.log: Invalid argument
I only get those messages for the shared folder's private indexes. This setup works perfectly on an ext2/3/4 fs.
Any opinions, is this a bug? Is mmap_disable not mandatory for all operations?
Took a while, but fixed finally: http://hg.dovecot.org/dovecot-2.2/rev/00817b01020a
participants (2)
-
Peter Benko
-
Timo Sirainen