summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2022-10-11 14:00:04 +0200
committerGuilhem Moulin <guilhem@fripost.org>2022-10-11 14:00:04 +0200
commitd7a8e117b2595b2ba74cb5a7ba237ca18f36e1ab (patch)
tree3ed76a347d721ea2d91ba26f17eb4bfe4e56cdc3
parent83bd3f5e67554f6c822cd35d428ac597707b7d3d (diff)
dovecot: Bump VSZ to 1G.
-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 daeecf4..d61c11b 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
@@ -1,27 +1,27 @@
#default_process_limit = 100
#default_client_limit = 1000
# 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 = 512M
+default_vsz_limit = 1024M
# 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.
#default_login_user = dovenull
# Internal user is used by unprivileged processes. It should be separate from
# login user, so that login processes can't disturb other processes.
#default_internal_user = dovecot
service imap-login {
inet_listener imap {
{% if groups.all | length > 1 %}
address = {{ ipsec[inventory_hostname_short] }}
port = 143
{% else %}
port = 0
{% endif %}
}
inet_listener imaps {
#port = 993