You are rigth.

This problem is fixed upgrading to 2.3 version.

Thanks.


El 18/2/22 a las 10:04, Aki Tuomi escribió:
Hi,

2.2.27 is unfortunately rather ancient version, and no longer supported. Can 
you try, somehow, if this happens with 2.3.18? You can get packages from 
https://repo.dovecot.org.

Aki


On 16/02/2022 17:20 Víctor Rubiella Monfort <vrubie...@cdmon.com> wrote:


(Resend to list, sorry for personal reply)


-------- Mensaje reenviado --------
Asunto: Re: Memory problems with config service 
Fecha: Wed, 16 Feb 2022 16:19:32 +0100  
De: Víctor Rubiella Monfort <vrubie...@cdmon.com> 
Para: Aki Tuomi <aki.tu...@open-xchange.com>      

# 2.2.27 (): /etc/dovecot/dovecot.conf
  # Pigeonhole version 0.4.16 ()
  # OS: Linux 4.9.0-16-amd64 x86_64 Debian 9.9
  auth_username_chars = 
abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890.-_@&
  auth_worker_max_count = 25
  default_client_limit = 1200
  disable_plaintext_auth = no
  first_valid_uid = 100
  info_log_path = /var/log/dovecot-info.log
  log_path = /var/log/dovecot.log
  login_greeting = Server ready
  login_log_format_elements = user=<%u> method=%m port=%a rip=%r lip=%l mpid=%e 
%c
  mail_location = maildir:%h
  mail_max_userip_connections = 100
  passdb {
  args = /etc/dovecot/mailaccounts.db
  driver = passwd-file
  }
  plugin {
  quota = maildir:User quota
  quota_rule3 = SPAM:storage=+50M
  }
  protocols = imap pop3
  service config {
  vsz_limit = 9 G
  }
  service imap-login {
  process_limit = 500
  }
  service pop3-login {
  process_limit = 500
  }
  ssl_ca = </home/ssl/system/domain.cat/ca.pem
  ssl_cert = </home/ssl/system/domain.cat/crt.pem
  ssl_dh_parameters_length = 2048
  ssl_key = # hidden, use -P to show it
  userdb {
  args = /etc/dovecot/mailaccounts.db
  driver = passwd-file
  }
  valid_chroot_dirs = /home/postfix/
  protocol imap {
  mail_plugins = quota imap_quota mail_log notify
  }
  protocol pop3 {
  mail_plugins = quota mail_log notify
  }
  protocol lda {
  mail_plugins = quota
  }
local_name *.hidden.com {
  ssl_cert = </home/ssl/dovecot/live/hidden.com/fullchain.pem
  ssl_key = # hidden, use -P to show it
  }
  #3100+ local_name more with different domains.
El 16/2/22 a las 10:02, Aki Tuomi escribió:

On 16/02/2022 07:30 Víctor Rubiella Monfort <vrubie...@cdmon.com> wrote:
Hi all,
  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:
config: Panic: data stack: Out of memory when allocating 2147483688 bytes
  master: Error: service(config): command startup failed, throttling for 2 secs
  config: Fatal: master: service(config): child 5512 killed with signal 6 (core 
dumps disabled)
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? service config {
  vsz_limit = {{ vszlimit }}
  }

Hi!
Can you send your doveconf -n output? Aki

Reply via email to