Hey everyone,

I'm running 5.4-current and using dovecot-2.2.5p0 from the default
package repository.

When starting dovecot, it fails with multiple too many open files errors:
Sep 21 21:07:46 core dovecot: master: Dovecot v2.2.5 starting up
Sep 21 21:07:46 core dovecot: master: Error: service(director): pipe()
failed: Too many open files
Sep 21 21:07:46 core dovecot: master: Error: service(dict): pipe()
failed: Too many open files
Sep 21 21:07:46 core dovecot: master: Error: service(config): pipe()
failed: Too many open files
Sep 21 21:07:46 core dovecot: master: Error: service(auth): pipe()
failed: Too many open files
Sep 21 21:07:46 core dovecot: master: Error: service(auth-worker):
pipe() failed: Too many open files

As per this:
http://www.openbsd.org/cgi-bin/cvsweb/ports/mail/dovecot/pkg/README-server?rev=1.1

I've created a separate login class for dovecot (I'm not using the
login.conf.db db) with higher limits:
# tail -5 /etc/login.conf
# Dovecot
_dovecot:\
        :openfiles-cur=2048:\
        :openfiles-max=4096:\
        :tc=daemon:

Changed the _dovecot user to be in it:
Login: _dovecot
Uid [#]: 518
Gid [# or name]: 518
Class: _dovecot
Home directory: /nonexistent
Shell: /sbin/nologin
Full Name: Dovecot Account

Yet I'm still getting the same errors.
Any ideas?

Best regards,
Nikola Gyurov

Reply via email to