bind 9.3.1 thread issues on FreeBSD 5.3R/amd64

Sean McNeil sean at mcneil.com
Wed May 25 08:58:36 PDT 2005


On Wed, 2005-05-25 at 17:47 +0800, Mars G. Miro wrote:
> Yo list!
> 
> I think I'm seeing a problem about bind9.3.1 on FreeBSD 5.3R/AMD64.
> This is addressed by setting WITHOUT_BIND9_THREADS=true when compiling
> the port. This also doesn't happen on FreeBSD 5.4R/AMD64.
> 
> The problem manifests when shutting down the named daemon where it
> just would not die gracefully (you have to kill -9 it).
> 
> Here are the necessary steps to reproduce it:
> 1) install FreeBSD5.3R/AMD64
> 2) install bind9.3.1 from ports (set WITH_PORT_REPLACES_BASE_BIND9)
> 3) configure a simple resolver (# cd  /var/named/etc/namedb && sh
> make-localhost)
> 4) start named server ( # /etc/rc.d/named start  or # named -u bind -t
> /var/named )
> 5) test some dns queries ( dig, nslookup etc)
> 6) kill named server ( # /etc/rc.d/named stop or # killall named ), 
> [ this is where it happens ... ]

There is a problem with threads on exit that was fixed in 5.4.  Update
to -STABLE to get lots of stability issues as well as this problem
resolved.

Cheers,
Sean




More information about the freebsd-amd64 mailing list