On Thu, Apr 25, 2002 at 01:10:50PM -0400, John Baldwin wrote: > > On 25-Apr-2002 Kris Kennaway wrote: > > panic: sleeping thread owns a mutex > > Uptime: 8h52m59s > > (kgdb) bt > >#0 dumpsys () at /local0/scratch/usr/src/sys/kern/kern_shutdown.c:506 > >#1 0xc0207cb0 in boot (howto=260) at > >#/local0/scratch/usr/src/sys/kern/kern_shutdown.c:338 > >#2 0xc020814f in panic (fmt=0xc0367580 "sleeping thread owns a mutex") > > at /local0/scratch/usr/src/sys/kern/kern_shutdown.c:648 > >#3 0xc0200a35 in propagate_priority (td=0xcd23d400) > > at /local0/scratch/usr/src/sys/kern/kern_mutex.c:110 > > Can you go to this frame, then dump the contents of 'm' to find the misbehaving > mutex?
$2 = {mtx_object = {lo_class = 0xc03b1fc0, lo_name = 0xc76785a0 "PCPU 16384", lo_flags
= 4390912,
lo_list = {stqe_next = 0x0}, lo_witness = 0x0}, mtx_lock = 3453968642, mtx_recurse
= 0,
mtx_blocked = {tqh_first = 0xcd23d400, tqh_last = 0xcd23d428}, mtx_contested =
{le_next = 0x0,
le_prev = 0xcddf6160}}
> WITNESS should have warned about this but I guess getting people to run
> WITNESS is too much to ask.
WITNESS disables itself after about 30 seconds under load on the ports
cluster..something about some resource becoming exhausted. I tried
increasing the number of whatever resource it was by a factor of 8,
but it was still occurring after a longer time interval, so I gave up
and just turned it off.
Kris
msg37701/pgp00000.pgp
Description: PGP signature
