1

Topic: Dovecot too many open files error

I found out there has a problem on iredmail which too many user to login to the system will cause dovecot error as below.

dovecot: Mar 22 05:19:13 Info: dovecot v1.1.20 starting up (core dumps disabled)
dovecot: Mar 22 05:19:15 Fatal: execv(/usr/libexec/dovecot/pop3-login) failed: Too many open files
dovecot: Mar 22 05:19:15 Error: pipe() failed: Too many open files
dovecot: Mar 22 05:19:15 Error: Temporary failure in creating login processes, slowing down for now
dovecot: Mar 22 05:19:15 Info: Created login processes successfully, unstalling
dovecot: Mar 22 05:19:15 Error: Temporary failure in creating login processes, slowing down for now
dovecot: Mar 22 05:19:15 Error: child 15999 (login) returned error 84 (exec() failed)
dovecot: Mar 22 05:19:15 Info: Created login processes successfully, unstalling
dovecot: Mar 22 05:19:15 Error: login: Login request missing a file descriptor
dovecot: Mar 22 05:19:15 Info: pop3-login: Disconnected: Shutting down (auth failed, 1 attempts): user=<EMAIL ADDRESS>, method=PLAIN, rip=<IP>, lip=<IP>, TLS
dovecot: Mar 22 05:19:15 Error: setmntent(/etc/mtab) failed: Too many open files
dovecot: Mar 22 05:19:15 Fatal: execv(/usr/libexec/dovecot/pop3) failed: Too many open files
dovecot: Mar 22 05:19:15 Error: child 16000 (pop3) returned error 84 (exec() failed)

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: Dovecot too many open files error

Reference: http://wiki.dovecot.org/LoginProcess

And: man ulimit