From owner-freebsd-stable@FreeBSD.ORG Sun Dec 9 06:14:56 2007 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8B11116A419 for ; Sun, 9 Dec 2007 06:14:56 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx21.fluidhosting.com [204.14.89.4]) by mx1.freebsd.org (Postfix) with SMTP id 2BFE113C448 for ; Sun, 9 Dec 2007 06:14:55 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: (qmail 6194 invoked by uid 399); 9 Dec 2007 06:14:55 -0000 Received: from localhost (HELO lap.dougb.net) (dougb@dougbarton.us@127.0.0.1) by localhost with ESMTP; 9 Dec 2007 06:14:55 -0000 X-Originating-IP: 127.0.0.1 Message-ID: <475B87DD.4030504@FreeBSD.org> Date: Sat, 08 Dec 2007 22:14:53 -0800 From: Doug Barton Organization: http://www.FreeBSD.org/ User-Agent: Thunderbird 2.0.0.9 (X11/20071119) MIME-Version: 1.0 To: Imri Zvik References: <6F2DB4B43B9EAD4FA4659FA701F45ADB0BD24826@IGMAIL.InetGold> In-Reply-To: <6F2DB4B43B9EAD4FA4659FA701F45ADB0BD24826@IGMAIL.InetGold> X-Enigmail-Version: 0.95.5 OpenPGP: id=D5B2F0FB Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org Subject: Re: _umtx_op -1 errno 60 Operation timed out using 7.0-BETA4 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Dec 2007 06:14:56 -0000 Imri Zvik wrote: > Hi, > I've tried using libthr with bind 9.3, but after a while, bind stops > working (that is, responding to queries - the process is still alive) > and I can see the following with ktrace: > > 1667 named CALL _umtx_op(0x81a6304,0x2,0x17,0,0xbf5fae20) > 1667 named RET _umtx_op -1 errno 60 Operation timed out > > With libpthread everything works fine... > > > It happened with 6.3-STABLE too. > > Any ideas where to look next? How heavily loaded is your name server? If the answer is "very," you will almost certainly be better off using FreeBSD 7 and BIND 9.4.x. If that's not a possibility, and you really want to run BIND threaded on FreeBSD 6 you should use the bind94 port. The problem is that threading in BIND 9.3.x doesn't work, and is not recommended. The good news is that threaded performance is greatly improved in FreeBSD 7 and BIND 9.4.x. I recently MFC'ed the BIND 9.4.2 update to RELENG_7, so the next snapshot should have it, or you can install the latest snapshot and upgrade. hth, Doug -- This .signature sanitized for your protection