From owner-freebsd-amd64@FreeBSD.ORG Wed May 25 15:58:36 2005 Return-Path: X-Original-To: freebsd-amd64@freebsd.org Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 16BD916A41C for ; Wed, 25 May 2005 15:58:36 +0000 (GMT) (envelope-from sean@mcneil.com) Received: from mail.mcneil.com (mcneil.com [24.199.45.54]) by mx1.FreeBSD.org (Postfix) with ESMTP id D55EB43D1F for ; Wed, 25 May 2005 15:58:35 +0000 (GMT) (envelope-from sean@mcneil.com) Received: from localhost (localhost.mcneil.com [127.0.0.1]) by mail.mcneil.com (Postfix) with ESMTP id 549E7F1A9D; Wed, 25 May 2005 08:58:35 -0700 (PDT) Received: from mail.mcneil.com ([127.0.0.1]) by localhost (server.mcneil.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 35223-02; Wed, 25 May 2005 08:58:34 -0700 (PDT) Received: from mcneil.com (mcneil.com [24.199.45.54]) by mail.mcneil.com (Postfix) with ESMTP id 33FC6F199F; Wed, 25 May 2005 08:58:34 -0700 (PDT) From: Sean McNeil To: "Mars G. Miro" In-Reply-To: <28edec3c0505250247428b6db2@mail.gmail.com> References: <28edec3c0505250247428b6db2@mail.gmail.com> Content-Type: text/plain Organization: Sean McNeil Consulting, Inc Date: Wed, 25 May 2005 08:58:33 -0700 Message-Id: <1117036713.35298.1.camel@server.mcneil.com> Mime-Version: 1.0 X-Mailer: Evolution 2.2.2 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at mcneil.com Cc: freebsd-amd64@freebsd.org Subject: Re: bind 9.3.1 thread issues on FreeBSD 5.3R/amd64 X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: sean@mcneil.com List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 May 2005 15:58:36 -0000 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