<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
<p>(Resend to list, sorry for personal reply)<br>
</p>
<div class="moz-forward-container"><br>
<br>
-------- Mensaje reenviado --------
<table class="moz-email-headers-table" cellspacing="0"
cellpadding="0" border="0">
<tbody>
<tr>
<th valign="BASELINE" nowrap="nowrap" align="RIGHT">Asunto:
</th>
<td>Re: Memory problems with config service</td>
</tr>
<tr>
<th valign="BASELINE" nowrap="nowrap" align="RIGHT">Fecha: </th>
<td>Wed, 16 Feb 2022 16:19:32 +0100</td>
</tr>
<tr>
<th valign="BASELINE" nowrap="nowrap" align="RIGHT">De: </th>
<td>Víctor Rubiella Monfort <a class="moz-txt-link-rfc2396E" href="mailto:vrubiella@cdmon.com"><vrubiella@cdmon.com></a></td>
</tr>
<tr>
<th valign="BASELINE" nowrap="nowrap" align="RIGHT">Para: </th>
<td>Aki Tuomi <a class="moz-txt-link-rfc2396E" href="mailto:aki.tuomi@open-xchange.com"><aki.tuomi@open-xchange.com></a></td>
</tr>
</tbody>
</table>
<br>
<br>
# 2.2.27 (): /etc/dovecot/dovecot.conf<br>
# Pigeonhole version 0.4.16 ()<br>
# OS: Linux 4.9.0-16-amd64 x86_64 Debian 9.9<br>
auth_username_chars =
abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890.-_@&<br>
auth_worker_max_count = 25<br>
default_client_limit = 1200<br>
disable_plaintext_auth = no<br>
first_valid_uid = 100<br>
info_log_path = /var/log/dovecot-info.log<br>
log_path = /var/log/dovecot.log<br>
login_greeting = Server ready<br>
login_log_format_elements = user=<%u> method=%m port=%a
rip=%r lip=%l mpid=%e %c<br>
mail_location = maildir:%h<br>
mail_max_userip_connections = 100<br>
passdb {<br>
args = /etc/dovecot/mailaccounts.db<br>
driver = passwd-file<br>
}<br>
plugin {<br>
quota = maildir:User quota<br>
quota_rule3 = SPAM:storage=+50M<br>
}<br>
protocols = imap pop3<br>
service config {<br>
vsz_limit = 9 G<br>
}<br>
service imap-login {<br>
process_limit = 500<br>
}<br>
service pop3-login {<br>
process_limit = 500<br>
}<br>
ssl_ca = </home/ssl/system/domain.cat/ca.pem<br>
ssl_cert = </home/ssl/system/domain.cat/crt.pem<br>
ssl_dh_parameters_length = 2048<br>
ssl_key = # hidden, use -P to show it<br>
userdb {<br>
args = /etc/dovecot/mailaccounts.db<br>
driver = passwd-file<br>
}<br>
valid_chroot_dirs = /home/postfix/<br>
protocol imap {<br>
mail_plugins = quota imap_quota mail_log notify<br>
}<br>
protocol pop3 {<br>
mail_plugins = quota mail_log notify<br>
}<br>
protocol lda {<br>
mail_plugins = quota<br>
}<br>
<br>
local_name *.hidden.com {<br>
ssl_cert = </home/ssl/dovecot/live/hidden.com/fullchain.pem<br>
ssl_key = # hidden, use -P to show it<br>
}<br>
#3100+ local_name more with different domains.<br>
<br>
<br>
El 16/2/22 a las 10:02, Aki Tuomi escribió:<br>
<blockquote type="cite">
<blockquote type="cite">On 16/02/2022 07:30 Víctor Rubiella
Monfort <a class="moz-txt-link-rfc2396E" href="mailto:vrubiella@cdmon.com"><vrubiella@cdmon.com></a> wrote:<br>
<br>
<br>
Hi all,<br>
I'm having problems with memory in config service. I increased
vsz_limit to 10GB but continue with this errors when try to
reload or restart dovecot:<br>
<br>
config: Panic: data stack: Out of memory when allocating
2147483688 bytes<br>
master: Error: service(config): command startup failed,
throttling for 2 secs<br>
config: Fatal: master: service(config): child 5512 killed with
signal 6 (core dumps disabled)<br>
<br>
Dovecot has a lot of certificates TLS configured (SNI) (about
3k), but if I check the size of all of them is aprox 170MB on
disk.Why does it need so much memory to boot? Is normal?<br>
<br>
<br>
<br>
service config {<br>
vsz_limit = {{ vszlimit }}<br>
}<br>
</blockquote>
Hi!<br>
<br>
Can you send your doveconf -n output?<br>
<br>
Aki<br>
<br>
</blockquote>
</div>
</body>
</html>