On Sat, 25 Jul 2015 13:51:32 +0200
Tor Houghton <[email protected]> wrote:
> Hi,
>
Hi,
> It appears that the dovecot package won't start at boot time unless
> the ulimit is raised for open files:
>
> ..
> Jul 25 13:39:53 duck dovecot: master: Error:
> open(/var/dovecot/login-master-notifyda2290c6851a9f03) failed: Too
> many open files ..
>
> If I add the following to /etc/login.conf --
>
> dovecot:\
> :openfiles-cur=1024:\
> :tc=daemon:
>
> it starts OK. I suppose it's either do the above, or change the
> defaults in /etc/dovecot/conf.d/10-master.conf .. ?
>
> Regards,
>
> Tor
I never hit that specific issue while running current.
dovecot:\
:openfiles-cur=512:\
:openfiles-max=2048:\
:tc=daemon:
This is the recommended values for dovecot as stated
by /usr/local/share/doc/pkg-readmes/dovecot-2.2.18p0
Does dovecot start up properly if you set openfiles-max? That's the
only difference I see between your setup and dovecot seems to start
up fine with openfiles-cur=512 on my box (amd64 snapshot Jul 20).
Regards,
Adam