Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Nov 2010 10:07:37 -0500
From:      John Baldwin <jhb@freebsd.org>
To:        freebsd-current@freebsd.org
Cc:        Alexander Motin <mav@freebsd.org>, David Rhodus <sdrhodus@gmail.com>
Subject:   Re: panic: sched_priority: invalid priority 2906: nice 0, ticks 122865664 ftick 516947 ltick 517947 tick pri 2726
Message-ID:  <201011291007.37044.jhb@freebsd.org>
In-Reply-To: <AANLkTimy-2oSgy8E2D-=WO41%2BdSem8MY=ZNCSSH3bBt%2B@mail.gmail.com>
References:  <AANLkTimy-2oSgy8E2D-=WO41%2BdSem8MY=ZNCSSH3bBt%2B@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Friday, November 26, 2010 4:38:49 pm David Rhodus wrote:
> I hit this panic on my NFS server.
> 
> -DR
> 
> coke.fun dumped core - see /var/crash/vmcore.2
> 
> Fri Nov 26 14:50:48 UTC 2010
> 
> FreeBSD coke.fun 9.0-CURRENT FreeBSD 9.0-CURRENT #14 r215800: Wed Nov
> 24 12:35:30 UTC 2010     root@coke.fun:/usr/obj/usr/src/sys/GENERIC
> i386
> 
> panic: sched_priority: invalid priority 2906: nice 0, ticks 122865664
> ftick 516947 ltick 517947 tick pri 2726

I ran the numbers and assuming a hz of 1000, this requires you to have a very 
large value for ts_ticks (about (2726 * 24) << 10).  I suspect this is due to 
sched_tick() being invoked for a long idle sleep combined with the eventtimer 
changes.  Can you go to frame 10 and 'p td->td_sched->ts_ticks'?

-- 
John Baldwin



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201011291007.37044.jhb>