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

Silvia Tormo silvia.tormo at addapta.com
Fri Mar 27 21:22:45 UTC 2015


I've already tried creating etc/default/dovecot chmod +x it and inside put ulimit but didn't work.

Also i've tried to put the ulimit into the /etc/init.d/dovecot linked file but i found still 1024 the limit kn dovecot.
El 27/03/2015 22:03, Timo Sirainen <tss at iki.fi> escribió:
>
> 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