summaryrefslogtreecommitdiffstats
path: root/roles/IMAP/templates/etc/dovecot
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2019-05-23 19:19:16 +0200
committerGuilhem Moulin <guilhem@fripost.org>2019-05-23 19:19:16 +0200
commitdfc1467c9ccb0e8427c647faa50ca92a01f5d6d6 (patch)
tree23de43925535845210be3a74c2d2388f061336c6 /roles/IMAP/templates/etc/dovecot
parentb16aa5bd33e5ca4bdc8a0734e8db1f42611aa75b (diff)
dovecot: raise default_vsz_limit from 256MB to 512MB.
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 .
Diffstat (limited to 'roles/IMAP/templates/etc/dovecot')
-rw-r--r--roles/IMAP/templates/etc/dovecot/conf.d/10-master.conf.j22
1 files changed, 1 insertions, 1 deletions
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.