[PATCH] increase fd_limit to max_client_limit automatically

Timo Sirainen tss at iki.fi
Fri Mar 20 19:06:12 UTC 2015


On 22 Jan 2015, at 14:01, Lauri Tirkkonen <ltirkkon at niksula.hut.fi> wrote:
> 
> Hi, with a low soft limit on file descriptors, dovecot 2.2.15 warns on
> startup:
> 
>    Warning: fd limit (ulimit -n) is lower than required under max. load
>    (256 < 1000), because of default_client_limit
> 
> It could try increasing the limit first, and only report the warning if that
> fails. I'm attaching a patch that does just this.

It could .. But somehow it doesn't seem like a good idea to me to do automatically. Maybe the limits are there intentionally. Maybe it's the Dovecot settings that are wrong and not the ulimits.



More information about the dovecot mailing list