mmap_disable=yes not honored always

Timo Sirainen tss at iki.fi
Sun Dec 6 14:10:24 UTC 2015


On 10/15/2014 06:31 PM, Peter Benko wrote:
> <Sorry for the resend, it seems that the formatting of my original mail got garbled>
> 
> 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 at 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


More information about the dovecot mailing list