On 01. 02. 22 13:30, Anand Buddhdev wrote:
Hi Ondrej,

Do you recommend setting LimitNOFILE=1048576 in the systemd unit file for BIND?

I'm not Ondrej, but let me try:
No, that would be redundant.

As you correctly noticed, the log message "adjusted limit on open files from 4096 to 1048576" already shows that BIND adjusted OS-level file descriptor limit.

The only way out is what Tony wrote in another thread: Add "-S <number>" parameter to bump the built-in limit of 21000 FDs. This is BIND's limit as opposed to OS limit, so systemd-level settings cannot raise it.

... or migrate to 9.18.0 which does not have this built-in limit anymore.


On 28/01/2022 15:03, Anand Buddhdev wrote:

Hi Ondrej,

It is 1024. I see named logging this:

adjusted limit on open files from 4096 to 1048576

I thought there was no need to set LimitNOFILE=1048576 in the systemd unit file. Am I mistaken?


--
Petr Špaček  @  Internet Systems Consortium
--
Visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from 
this list

ISC funds the development of this software with paid support subscriptions. 
Contact us at https://www.isc.org/contact/ for more information.


bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users

Reply via email to