Re: Memory problems with config service

2022-02-21 Thread Víctor Rubiella Monfort

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  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  
Para: Aki Tuomi   

  
  # 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 =   
  local_name *.hidden.com {

  ssl_cert =   
  
  El 16/2/22 a las 10:02, Aki Tuomi escribió:



On 16/02/2022 07:30 Víctor Rubiella Monfort  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
  



Fwd: Memory problems with config service

2022-02-16 Thread Víctor Rubiella Monfort

(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 
Para:   Aki Tuomi 



# 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 = 
On 16/02/2022 07:30 Víctor Rubiella Monfort  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


Memory problems with config service

2022-02-15 Thread Víctor Rubiella Monfort

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 }}
}