kern.maxfiles is a system wide max. openfiles is per user.

Increase system wide limnit by puttting 

kern.maxfiles=xxxx

in /etc/sysctl.conf

        -Otto

On Thu, Sep 22, 2022 at 12:37:51PM +0000, Mik J wrote:

> Hello,
> When I restart ISC Bind I get this messagenamed[95122]: max open files (7030) 
> is smaller than max sockets (21000)
> I know that this 7030 comes from the kernel settings
> However, I thought that changing values in /etc/login.conf would help
> named:\
>         :openfiles=20009:\
>         :openfiles-max=15024:\
>         :tc=daemon:
> I chose random values to be able to match them easily
> So it seems that these values are not taken into account. Do you know why ?
> Regards

Reply via email to