[Dovecot-de] Out-of-Memory Problem mit Dovecot unter OpenBSD 5.5

Mika mikas2010 at gmx.at
So Jun 8 22:32:04 CEST 2014


Hi,

ich habe auf openBSD 5.5 neben Postfix auch Dovecot
installiert. Hier erfolgt die Verwaltung der User/eMail-
Adressen über eine mySQL-Datenbank.

Beim Start von dovecot bekomme ich folgende
Fehlermeldung:

# /usr/local/sbin/dovecot                 
Fatal: pool_system_realloc(8589934592): Out of memory
#

Aktuell läuft kein dovecot mehr. Der Postfix ist aber okay.

Habt Ihr eine Idee, wo der Fehler liegen kann?

Vielen Dank für Eure Ideen, Mika

P.S. Ich habe vorher schonmal dies hier machen müssen: " ulimit -n 1024"
weil da vorher die Fehlermeldung war.

# cat /var/log/maillog
...
Jun  8 21:26:15 1-1-1-1 dovecot: master: Error:
file_dotlock_open(/var/dovecot/instances) failed: Too many open files
Jun  8 21:26:15 1-1-1-1 dovecot: lda: Error: userdb
lookup(root at lalaland.de): Disconnected unexpectedly
Jun  8 21:26:15 1-1-1-1 dovecot: lda: Error: userdb
lookup(root at lalaland.de): Disconnected unexpectedly
Jun  8 21:26:15 1-1-1-1 dovecot: lda: Fatal: Internal error occurred.
Refer to server log for more information.
Jun  8 21:26:15 1-1-1-1 dovecot: lda: Fatal: Internal error occurred.
Refer to server log for more information.
...


------

# cat /var/log/maillog
...
Jun  8 22:20:31 1-1-1-1 dovecot: master: Fatal:
pool_system_realloc(8589934592): Out of memory
...

# doveconf -n
# 2.2.10: /etc/dovecot/dovecot.conf
# OS: OpenBSD 5.5 amd64  ffs
auth_mechanisms = plain login digest-md5
auth_socket_path = /var/run/dovecot/auth-master
default_client_limit = 512
default_vsz_limit = 128 M
first_valid_uid = 2000
hostname = lalaland.de
imap_client_workarounds = delay-newmail tb-extra-mailbox-sep tb-lsub-flags
last_valid_uid = 2000
log_timestamp = "%Y-%m-%d %H:%M:%S "
mail_location = maildir:/var/vmail/%d/%u
mail_plugins = " quota"
mbox_write_locks = fcntl
mmap_disable = yes
namespace inbox {
  inbox = yes
  location =
  mailbox Drafts {
    special_use = \Drafts
  }
  mailbox Junk {
    special_use = \Junk
  }
  mailbox Sent {
    special_use = \Sent
  }
  mailbox "Sent Messages" {
    special_use = \Sent
  }
  mailbox Trash {
    special_use = \Trash
  }
  prefix =
}
passdb {
  driver = bsdauth
}
passdb {
  args = /etc/dovecot/dovecot-sql.conf.ext
  driver = sql
}
plugin {
  quota_warning = storage=95%% quota-warning 95 %u
  quota_warning2 = storage=80%% quota-warning 80 %u
}
pop3_client_workarounds = outlook-no-nuls oe-ns-eoh
postmaster_address = ich at lalaland.de
service auth {
  unix_listener /var/spool/postfix/private/auth {
    group = _postfix
    mode = 0660
    user = _postfix
  }
}
service imap {
  process_limit = 128
}
service pop3 {
  process_limit = 128
}
service quota-warning {
  executable = script /usr/local/bin/quota-warning.sh
  unix_listener quota-warning {
    user = vmail
  }
  user = dovecot
}
ssl_cert = </etc/ssl/dovecotcert.pem
ssl_key = </etc/ssl/private/dovecot.pem
userdb {
  driver = passwd
}
userdb {
  args = /etc/dovecot/dovecot-sql.conf.ext
  driver = sql
}
protocol lda {
  mail_plugins = " quota quota"
}
protocol imap {
  mail_max_userip_connections = 2
  mail_plugins = " quota imap_quota"
}
protocol pop3 {
  mail_max_userip_connections = 2
  mail_plugins = " quota quota"
}



Mehr Informationen über die Mailingliste Dovecot