From owner-cvs-all Fri Jun 7 10:30:43 2002 Delivered-To: cvs-all@freebsd.org Received: from mail.speakeasy.net (mail16.speakeasy.net [216.254.0.216]) by hub.freebsd.org (Postfix) with ESMTP id F356E37B413 for ; Fri, 7 Jun 2002 10:30:24 -0700 (PDT) Received: (qmail 4142 invoked from network); 7 Jun 2002 17:30:23 -0000 Received: from unknown (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) by mail16.speakeasy.net (qmail-ldap-1.03) with DES-CBC3-SHA encrypted SMTP for ; 7 Jun 2002 17:30:23 -0000 Received: from laptop.baldwin.cx (gw1.twc.weather.com [216.133.140.1]) by server.baldwin.cx (8.11.6/8.11.6) with ESMTP id g57HULF66169; Fri, 7 Jun 2002 13:30:21 -0400 (EDT) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.5.2 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: Date: Fri, 07 Jun 2002 13:30:14 -0400 (EDT) From: John Baldwin To: John Baldwin Subject: Re: cvs commit: src/sys/kern subr_witness.c Cc: cvs-all@FreeBSD.ORG, cvs-committers@FreeBSD.ORG, Mike Makonnen Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 07-Jun-2002 John Baldwin wrote: > > On 07-Jun-2002 Mike Makonnen wrote: >> On Thu, 06 Jun 2002 15:10:02 -0400 (EDT) >> John Baldwin wrote: >> >>> This should at least help if not fully address the witness_get: >> exhausted problems> reported by Kris, Hiten, and others. If the folks >> having this problem could test> witness out with this patch and let me >> know if it does better, I would appreciate> it. >>> >> >> Well, somewhat. The witness_get:exhausted messages now appear later in >> the boot process. > > Ok, I'll work on a sane (right now it spams the console too much) patch for > you to try and figure out what locks are giving you fits. Can you drop > into ddb, do a 'show witness' and verify that you have several (dead) > witness entries? The patch in question is at www.freebsd.org/~jhb/patches/witness.patch It will print out message to the console 'dead witness: foo' where foo is the lock category name when witness objects die (though only the first time that a given object dies). If you see the same witness die multiple times let me know. The only witness I've seen die so far in general use is the pipe mutex witness object. -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message