Hi Sami,

I'm sorry but I've tried to do that again this evening but I can't get it to 
work.

named.exe can take command line arguments to limit the number of vCPUs it will 
use, but I can't get this to work when running named.exe as a service.

It *should* be the case that you can edit the following Registry Key:
Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\named

Then set "Image Path" to be:
C:\BIND\bin\named.exe -n 7

That would tell named to run using only 7 vCPUs. But that doesn't work for me, 
it still refuses to start the service.

I'm sorry that I've been unable to find a way to assist further. This is being 
tracked in the ISC BIND Gitlab at the following link:
https://gitlab.isc.org/isc-projects/bind9/-/issues/2837

I may be mis-reading but I *think* they've identified a fix which is waiting to 
be merged into the codebase, possibly in time for the next release.

In the mean time as a manual workaround you can start named from the command 
line as follows (but I can't find a way to automate this so it's not reliable, 
and you'd need to do it every time the server (re)boots. Aram Sargsyan came up 
with this workaround in the ticket referenced above, and I've confirmed that it 
works on an 8-core test VM that I created:

C:\> sc start named -n 7

Best,

Richard.

From: Sami Leino <sami.le...@qnet.fi>
Sent: 08 September 2021 8:13 am
To: Richard T.A. Neal <rich...@richardneal.com>; bind-us...@isc.org
Subject: VS: BIND 9.16.19 or any version newer than 9.16.15 does not start on 
Windows Server 2019

Hi Richard,

I will return to this problem with 8 vCPU count. You wrote earlier that there 
could be a way to have BIND run a specific number of vCPU cores?

Because with the current setup we cannot change the server's vCPU count.

BR, Sami Leino / Q-Net Oy




_______________________________________________
Please 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