Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Jul 2005 12:14:00 +0100
From:      Freminlins <freminlins@gmail.com>
To:        FreeBSD <freebsd-questions@freebsd.org>
Subject:   Question about FreeBsd 5.4 + BIND 9.3.1 and threads
Message-ID:  <eeef1a4c050728041466f7674e@mail.gmail.com>

next in thread | raw e-mail | index | archive | help

Hello,

I have a FreeBSD 5.4R box running BIND 9.3.1 from base on a dual Xeon
with hyperthreading enabled.

According to the man page for named:

       -n #cpus
              Create #cpus worker threads to take advantage of multiple  CPUs.
              If not specified, named will try to determine the number of CPUs
              present and create one thread per  CPU.   If  it  is  unable  to
              determine  the  number  of  CPUs, a single worker thread will be
              created.

Yet I seem to have six threads:

mx01$ ps -xauwH | grep bind
bind   95906  0.0  5.4 58444 56876  ??  SLs   1:16PM 143:20.01
/usr/sbin/named -u bind -t /var/named
bind   95906  0.0  5.4 58444 56876  ??  SLs   1:16PM 143:20.01
/usr/sbin/named -u bind -t /var/named
bind   95906  0.0  5.4 58444 56876  ??  SLs   1:16PM 143:20.01
/usr/sbin/named -u bind -t /var/named
bind   95906  0.0  5.4 58444 56876  ??  SLs   1:16PM 143:20.01
/usr/sbin/named -u bind -t /var/named
bind   95906  0.0  5.4 58444 56876  ??  SLs   1:16PM 143:20.01
/usr/sbin/named -u bind -t /var/named
bind   95906  0.0  5.4 58444 56876  ??  SLs   1:16PM 143:20.01
/usr/sbin/named -u bind -t /var/named


Does this mean there is a bug in BIND, or am I missing something?

Thanks,
Frem.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?eeef1a4c050728041466f7674e>