[Dovecot] Too many open files

Timo Sirainen tss at iki.fi
Wed Oct 22 00:43:49 EEST 2008


On Tue, 2008-10-21 at 10:47 +0200, Antonio Casado Rodríguez wrote:
> Hi, other error in "open files":
> 
> dovecot: Oct 20 10:52:36 Fatal: 
> execv(/usr/local/sbin/post-login-imap-dovecot) failed: Too many open files
> dovecot: Oct 20 10:52:36 Error: child 1038 (imap) returned error 84 
> (exec() failed)

This comes from the dovecot master process.

> open files                      (-n) 1024

And it's limited by this.

> Now, we have this:
> # lsof -p `cat /var/run/dovecot/master.pid` | wc -l
> 1018

So increase ulimit -n before starting Dovecot.

What Dovecot version are you using? If v1.1+, doesn't it give a warning
at startup that your limit is too low?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20081022/bf7616f7/attachment.bin 


More information about the dovecot mailing list