"witness exhausted"
John Baldwin
jhb at FreeBSD.org
Mon Aug 23 14:26:23 PDT 2004
On Monday 23 August 2004 02:09 pm, Robert Huff wrote:
> I updated to
>
> FreeBSD 6.0-CURRENT #1: Fri Aug 20 15:02:58 EDT 2004
>
> and noticed in the boot messages:
>
> witness_get: witness exhausted
>
> What's going on, and is this something I need to worry about?
> (System config file and dmesg output are appended.)
It just means that witness' internal buffers were used up so it stopped doing
lock order checking. You can try bumping up the constants in subr_witness.c
that control the size of the static arrays if you need witness to work. You
can do a 'show witness' from DDB to possibly see why it exhausted all the
entries. It may be that some class of lock is using unique names for each
lock and needs to use a common lock type so they all use the same witness
structure.
--
John Baldwin <jhb at FreeBSD.org> <>< http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve" = http://www.FreeBSD.org
More information about the freebsd-current
mailing list