From owner-freebsd-amd64@FreeBSD.ORG Thu May 26 03:12:47 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 1CD1516A41F for ; Thu, 26 May 2005 03:12:47 +0000 (GMT) (envelope-from marsgmiro@gmail.com) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9AA6143D49 for ; Thu, 26 May 2005 03:12:46 +0000 (GMT) (envelope-from marsgmiro@gmail.com) Received: by zproxy.gmail.com with SMTP id 12so865725nzp for ; Wed, 25 May 2005 20:12:45 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=SCz8eYXcjSwesD3RumbndFD9Ly7aFZpjXZMZrtpHS6JTrO9RS5KOf+2qoE2rcKJanjoNz3EQcrQv+dE55N+lw8rgGQUOnp1dwLvIFGzu7LkBLyUwrdLc048y9LKyYsMRas9j69E9/fCv4onrBJ/Nv7EcfrBnK75/M/ePfnjq1cw= Received: by 10.36.157.18 with SMTP id f18mr434655nze; Wed, 25 May 2005 20:12:45 -0700 (PDT) Received: by 10.36.72.13 with HTTP; Wed, 25 May 2005 20:12:45 -0700 (PDT) Message-ID: <28edec3c05052520121e03ec8f@mail.gmail.com> Date: Thu, 26 May 2005 11:12:45 +0800 From: "Mars G. Miro" To: sean@mcneil.com, freebsd-amd64@freebsd.org In-Reply-To: <1117036713.35298.1.camel@server.mcneil.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <28edec3c0505250247428b6db2@mail.gmail.com> <1117036713.35298.1.camel@server.mcneil.com> Cc: 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: "Mars G. Miro" List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 May 2005 03:12:47 -0000 On 5/25/05, Sean McNeil wrote: > On Wed, 2005-05-25 at 17:47 +0800, Mars G. Miro wrote: > > Yo list! > >=20 > > I think I'm seeing a problem about bind9.3.1 on FreeBSD 5.3R/AMD64. > > This is addressed by setting WITHOUT_BIND9_THREADS=3Dtrue when compilin= g > > the port. This also doesn't happen on FreeBSD 5.4R/AMD64. > >=20 > > The problem manifests when shutting down the named daemon where it > > just would not die gracefully (you have to kill -9 it). > >=20 > > 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 ),=20 > > [ this is where it happens ... ] >=20 > 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. >=20 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 >=20 >=20 >=20 cheers mars