mmap() Error, Invalid Argument - Double slash in path?

Aki Tuomi aki.tuomi at dovecot.fi
Sat Dec 2 17:51:49 EET 2017


> On December 2, 2017 at 5:36 PM GE Junk <junk.ge at planetmorgan.net> wrote:
> 
> 
> I get a ton of these mmap() errors in the log. I noticed there's a 
> double slash before Maildir. Is this normal? Config error? Dovecot bug?
> 
> dovecot: imap(email at email.net): Error: mmap() failed with file 
> /shares/email/vmail/vmail1/email.net/e/m/a/email-2017.02.25.08.09.39//Maildir/dovecot.index.cache: 
> Invalid argument
> 
> I'm running dovecot version 2.2.22
> 
> Thanks
> Eric

Most likely the file system does not support mmap. Is it some remote filesystem, such as NFS? You probably can get better results by disabling mmap from dovecot.

Aki


More information about the dovecot mailing list