From owner-freebsd-hackers@FreeBSD.ORG Fri Sep 2 18:30:14 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A28DF16A41F for ; Fri, 2 Sep 2005 18:30:14 +0000 (GMT) (envelope-from jhb@FreeBSD.org) Received: from mv.twc.weather.com (mv.twc.weather.com [65.212.71.225]) by mx1.FreeBSD.org (Postfix) with ESMTP id 42E3043D46 for ; Fri, 2 Sep 2005 18:30:14 +0000 (GMT) (envelope-from jhb@FreeBSD.org) Received: from [10.50.40.201] (Not Verified[10.50.40.201]) by mv.twc.weather.com with NetIQ MailMarshal (v6, 0, 3, 8) id ; Fri, 02 Sep 2005 14:45:35 -0400 From: John Baldwin To: freebsd-hackers@freebsd.org Date: Fri, 2 Sep 2005 14:09:24 -0400 User-Agent: KMail/1.8 References: <4317340E.2050208@metro.cx> <200509011348.50159.jhb@FreeBSD.org> <43177AD3.7070308@metro.cx> In-Reply-To: <43177AD3.7070308@metro.cx> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200509021409.25056.jhb@FreeBSD.org> Cc: Koen Martens Subject: Re: panic in propagate_priority w/ postgresql under heavy load X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Sep 2005 18:30:14 -0000 On Thursday 01 September 2005 06:04 pm, Koen Martens wrote: > John Baldwin wrote: > > On Thursday 01 September 2005 01:02 pm, Koen Martens wrote: > >>I've had a little chat with neologism on ircnet/#freebsd about this > >>already, and done as he suggested: compile a debug kernel to obtain > >>a stack trace. > > > > Can you reproduce it with a kernel that has INVARIANTS and > > INVARIANT_SUPPORT on? I see that you had WITNESS on, can you check to > > see if there were any witness messages about sleepign with non-sleepable > > locks held before the crash? > > I will do this when I get back. I did a grep -i on witness in the > console log but this did not turn up anything suspicious (exact > output pasted below). Also, i checked again the logs right before > the crashes, nothing special output to console before the Kernel > trap 12.. > > > voltaire# grep -i witness yin.log > WARNING: WITNESS option enabled, expect reduced performance. > witness_get: witness exhausted > WARNING: WITNESS option enabled, expect reduced performance. > witness_get: witness exhausted This last means that witness had turned itself off because it had run out of resources. Try bumping up the WITNESS_COUNT constant in sys/kern/subr_witness.c. -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org