[Dovecot] lmtp: Error: mmap failed with file ... dovecot.index.cache: Cannot allocate memory

Timo Sirainen tss at iki.fi
Fri Aug 10 20:10:21 EEST 2012


On 10.8.2012, at 20.05, David Jonas wrote:

> I have a mailbox with an ungodly number of small messages in it. When
> new messages are delivered lmtp kicks up an error like the one below. I
> tried raising the vsz_limit for lmtp but that didn't see to help.

That should help.

> # ls -lah dovecot.index.cache
> -rw------- 1 vmail vmail 128M Jul 29 20:16 dovecot.index.cache
> 
> default_vsz_limit = 256 M
> service lmtp {
>  inet_listener lmtp {
>    port = 24
>  }
>  vsz_limit = 256 M
> }

Did you try higher than 256M? There might be some memory temporarily wasted which causes it to go over.




More information about the dovecot mailing list