Error: open() failed with file /var/vmail/... Too many open files

Timo Sirainen tss at iki.fi
Fri Mar 27 21:03:48 UTC 2015


On 26 Mar 2015, at 16:52, Silvia Tormo <silvia.tormo at addapta.com> wrote:
> 
> Hello guys we have Dovecot 2.0.19 and we are getting those errors opening
> files of dovecot Too many open files, we¹ve tried to increase limits in
> /etc/security/limits

/etc/security/ settings don't affect Dovecot (or any other server program). You need to put the ulimit commands somewhere in the init script. Or perhaps adding the ulimit command to /etc/default/dovecot would work. I don't know what's the correct Ubuntu way to do it.



More information about the dovecot mailing list