How do I identify if bind9 is using 4 cores?

Petr Menšík pemensik at redhat.com
Mon Jul 5 08:28:46 UTC 2021


Consult log of bind9 service. It should autodetect 4 cores without any
options, just with plain start of the service.

It should show isc-socket thread for each core:

pstree -t $(pidof named)

I were surprised of my output however, because I have multiple
isc-net-000{1}. My version is bind-9.16.18-1.fc34.x86_64

$ pstree -t $(pidof named)
named─┬─2*[{isc-net-0000}]
      ├─5*[{isc-net-0001}]
      ├─{isc-net-0002}
      ├─{isc-net-0003}
      ├─{isc-socket-0}
      ├─{isc-socket-1}
      ├─{isc-socket-2}
      ├─{isc-socket-3}
      └─{isc-timer}

Are those numbers intentional?

On 6/17/21 5:32 AM, Manish Rane wrote:
> Hi Team,
>
> I have BIND 9.16.17-Ubuntu on ubuntu and have 4 cores. I have configured
>
>  more /etc/default/bind9
> OPTIONS="-n 4"
>
> And then restarted the services. How do I verify if bind9 has spawned 4
> processes and distributed among those?
>
> TIA
> Manish R
>
>
> _______________________________________________
> 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 at lists.isc.org
> https://lists.isc.org/mailman/listinfo/bind-users

-- 
Petr Menšík
Software Engineer
Red Hat, http://www.redhat.com/
email: pemensik at redhat.com
PGP: DFCF908DB7C87E8E529925BC4931CA5B6C9FC5CB

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/bind-users/attachments/20210705/e4ef56bc/attachment.htm>


More information about the bind-users mailing list