Thank you I understand now.
Le jeudi 22 septembre 2022 à 15:04:03 UTC+2, Otto Moerbeek <[email protected]>
a écrit :
kern.maxfiles needs to be increased to a value larger than the largest
openfiles used.
-Otto
On Thu, Sep 22, 2022 at 01:02:11PM +0000, Mik J wrote:
> Thank you Otto for your answer.But I cannot increase the max files just for
>named ?
> Or you're saying that named just looks at the system value (kern.maxfiles)Yes
> I do have kern.maxfiles=7030 on my system
>
>
> Le jeudi 22 septembre 2022 à 14:53:51 UTC+2, Otto Moerbeek
><[email protected]> a écrit :
>
> 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
>