Question about FreeBsd 5.4 + BIND 9.3.1 and threads

Freminlins freminlins at gmail.com
Thu Jul 28 11:14:03 GMT 2005


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.


More information about the freebsd-questions mailing list