BIND 9.16.25 "file descriptor exceeds limit" messages
Petr Špaček
pspacek at isc.org
Tue Feb 1 14:33:24 UTC 2022
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
More information about the bind-users
mailing list