bind 9.3.1 thread issues on FreeBSD 5.3R/amd64

Mars G. Miro marsgmiro at gmail.com
Wed May 25 20:12:47 PDT 2005


On 5/25/05, Sean McNeil <sean at mcneil.com> wrote:
> 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.
> 

Yeah, as I've stated it doesn't happen 5.4R, the interesting bit
though is that it only happens on AMD64.

Also the problem can  be reproduced in a jail, in fact it was in a
jail that I first found out about it.

Thanks,

> Cheers,
> Sean
> 
> 
> 



cheers
mars


More information about the freebsd-amd64 mailing list