From dfc1467c9ccb0e8427c647faa50ca92a01f5d6d6 Mon Sep 17 00:00:00 2001 From: Guilhem Moulin Date: Thu, 23 May 2019 19:19:16 +0200 Subject: dovecot: raise default_vsz_limit from 256MB to 512MB. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This avoids lmtp errors like Error: mmap(size=0) failed with file […] dbox-Mails/dovecot.index.cache: Cannot allocate memory See https://www.dovecot.org/list/dovecot/2012-August/137569.html and https://www.dovecot.org/list/dovecot/2011-December/132455.html . --- roles/IMAP/templates/etc/dovecot/conf.d/10-master.conf.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'roles/IMAP/templates/etc/dovecot') diff --git a/roles/IMAP/templates/etc/dovecot/conf.d/10-master.conf.j2 b/roles/IMAP/templates/etc/dovecot/conf.d/10-master.conf.j2 index 1bf13b0..8eef8a1 100644 --- a/roles/IMAP/templates/etc/dovecot/conf.d/10-master.conf.j2 +++ b/roles/IMAP/templates/etc/dovecot/conf.d/10-master.conf.j2 @@ -4,7 +4,7 @@ # Default VSZ (virtual memory size) limit for service processes. This is mainly # intended to catch and kill processes that leak memory before they eat up # everything. -#default_vsz_limit = 256M +default_vsz_limit = 512M # Login user is internally used by login processes. This is the most untrusted # user in Dovecot system. It shouldn't have access to anything at all. -- cgit v1.2.3