From owner-freebsd-stable@FreeBSD.ORG Tue May 31 03:32:29 2005 Return-Path: X-Original-To: stable@freebsd.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7360116A421 for ; Tue, 31 May 2005 03:32:29 +0000 (GMT) (envelope-from msergeant@snsonline.net) Received: from xyzzy.snsonline.net (office-fw.iexec.net.au [210.18.210.230]) by mx1.FreeBSD.org (Postfix) with ESMTP id EE3D143D53 for ; Tue, 31 May 2005 03:32:28 +0000 (GMT) (envelope-from msergeant@snsonline.net) Received: from [127.0.0.1] (localhost [127.0.0.1]) by xyzzy.snsonline.net (Postfix) with ESMTP id C3BD31158E9; Tue, 31 May 2005 13:32:22 +1000 (EST) In-Reply-To: <20041117190841.P29048@carver.gumbysoft.com> References: <200411121707.12940.michael.riexinger@de.clara.net> <20041117190841.P29048@carver.gumbysoft.com> Mime-Version: 1.0 (Apple Message framework v730) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <5210275F-A547-4613-BCEB-7EB0A5E75C82@snsonline.net> Content-Transfer-Encoding: 7bit From: Mark Sergeant Date: Tue, 31 May 2005 13:32:20 +1000 To: Doug White X-Mailer: Apple Mail (2.730) Cc: stable@freebsd.org, Michael Riexinger Subject: Re: heavy named problems 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: Tue, 31 May 2005 03:32:29 -0000 31-May-2005 13:23:51.045 general: error: /usr/src/lib/bind/ dns/../../../contrib/bind9/lib/dns/adb.c:1439: unexpected error: 31-May-2005 13:23:51.045 general: error: isc_mutex_init failed in new_adbfind() 31-May-2005 13:23:51.891 general: error: /usr/src/lib/bind/ dns/../../../contrib/bind9/lib/dns/adb.c:1439: unexpected error: 31-May-2005 13:23:51.891 general: error: /usr/src/lib/bind/ dns/../../../contrib/bind9/lib/dns/adb.c:1439: unexpected error: 31-May-2005 13:23:51.891 general: error: isc_mutex_init failed in new_adbfind() I'm seeing this on both FreeBSD 5.4-p1 and -STABLE, either named will hang around the 100 - 250M memory mark with top output like ... last pid: 20483; load averages: 0.98, 0.67, 0.44 up 4+03:26:18 12:32:27 34 processes: 2 running, 32 sleeping CPU states: % user, % nice, % system, % interrupt, % idle Mem: 237M Active, 150M Inact, 119M Wired, 24K Cache, 214M Buf, 1407M Free Swap: 4096M Total, 4096M Free PID USERNAME PRI NICE SIZE RES STATE C TIME WCPU CPU COMMAND 19847 bind 20 0 232M 228M kserel 1 61:57 98.97% 98.97% named As you can see plenty of memory free. Or if I drop down the datasize and cache size then I get the above crash. Any ideas anyone ? Cheers, Mark On 18/11/2004, at 1:09 PM, Doug White wrote: > On Fri, 12 Nov 2004, Michael Riexinger wrote: > > >> i have freebsd 5.3-release with the base bind 9.3 (chrooted). It >> allows >> recursive queries. After few hours running, the server answers to >> every >> query with SERVFAIL. Few minutes before, in the logs is this: >> >> >> named: isc_mutex_init failed in new_adbfind() >> >> After /etc/rc.d/named restart it's working fine for a couple of >> hours... >> What could cause this problem? >> > > Out of memory? Hitting memory limits? > > The code appears to chuck the return code if its nonzero, which is > pesky. > I suspect its ENOMEM, though. > > > How big is the named process when it starts malfunctioning? > > -- > Doug White | FreeBSD: The Power to Serve > dwhite@gumbysoft.com | www.FreeBSD.org > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable- > unsubscribe@freebsd.org" > >