From owner-freebsd-current  Fri Dec  6 15:30:11 2002
Delivered-To: freebsd-current@freebsd.org
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 02F2537B416
	for <freebsd-current@FreeBSD.org>; Fri,  6 Dec 2002 15:30:09 -0800 (PST)
Received: from InterJet.dellroad.org (adsl-63-194-81-26.dsl.snfc21.pacbell.net [63.194.81.26])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 5ECC443EB2
	for <freebsd-current@FreeBSD.org>; Fri,  6 Dec 2002 15:30:08 -0800 (PST)
	(envelope-from archie@dellroad.org)
Received: from arch20m.dellroad.org (arch20m.dellroad.org [10.1.1.20])
	by InterJet.dellroad.org (8.9.1a/8.9.1) with ESMTP id PAA00460;
	Fri, 6 Dec 2002 15:24:09 -0800 (PST)
Received: from arch20m.dellroad.org (localhost [127.0.0.1])
	by arch20m.dellroad.org (8.12.6/8.12.6) with ESMTP id gB6NNaFF066878;
	Fri, 6 Dec 2002 15:23:36 -0800 (PST)
	(envelope-from archie@arch20m.dellroad.org)
Received: (from archie@localhost)
	by arch20m.dellroad.org (8.12.6/8.12.6/Submit) id gB6NNax4066877;
	Fri, 6 Dec 2002 15:23:36 -0800 (PST)
From: Archie Cobbs <archie@dellroad.org>
Message-Id: <200212062323.gB6NNax4066877@arch20m.dellroad.org>
Subject: Re: backgroud fsck is still locking up system (fwd)
In-Reply-To: <200212062205.gB6M5q59093906@beastie.mckusick.com>
To: Kirk McKusick <mckusick@beastie.mckusick.com>
Date: Fri, 6 Dec 2002 15:23:36 -0800 (PST)
Cc: Archie Cobbs <archie@dellroad.org>, Nate Lawson <nate@root.org>,
	freebsd-current@FreeBSD.org
X-Mailer: ELM [version 2.4ME+ PL99b (25)]
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=US-ASCII
Sender: owner-freebsd-current@FreeBSD.ORG
Precedence: bulk
List-ID: <freebsd-current.FreeBSD.ORG>
List-Archive: <http://docs.freebsd.org/mail/> (Web Archive)
List-Help: <mailto:majordomo@FreeBSD.ORG?subject=help> (List Instructions)
List-Subscribe: <mailto:majordomo@FreeBSD.ORG?subject=subscribe%20freebsd-current>
List-Unsubscribe: <mailto:majordomo@FreeBSD.ORG?subject=unsubscribe%20freebsd-current>
X-Loop: FreeBSD.ORG

Kirk McKusick wrote:
> OK, it looks like my hypothesis on having a small number of buffers 
> and running out of them is the problem. I enclose below a patch which
> should check for the problem arising and help to mitigate it. I
> would appreciate you dropping it into your kernel and seeing if
> it solves your problem. The fix is not ideal, but merely to see
> if it solves this problem. If it does, I will figure out how to
> do it properly. Thanks for your help.

Yep, that fixes it. Now I just get the usual sluggishness while the
background fsck runs (which is not too bad), but it eventually
finishes and then all is well.

Thanks,
-Archie

__________________________________________________________________________
Archie Cobbs     *     Packet Design     *     http://www.packetdesign.com

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message