From owner-freebsd-current Fri Dec 6 17:29:55 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 DA4A737B401 for ; Fri, 6 Dec 2002 17:29:53 -0800 (PST) Received: from beastie.mckusick.com (beastie.mckusick.com [209.31.233.184]) by mx1.FreeBSD.org (Postfix) with ESMTP id 71ACB43EA9 for ; Fri, 6 Dec 2002 17:29:53 -0800 (PST) (envelope-from mckusick@beastie.mckusick.com) Received: from beastie.mckusick.com (localhost [127.0.0.1]) by beastie.mckusick.com (8.12.3/8.12.3) with ESMTP id gB71Tn59094250; Fri, 6 Dec 2002 17:29:49 -0800 (PST) (envelope-from mckusick@beastie.mckusick.com) Message-Id: <200212070129.gB71Tn59094250@beastie.mckusick.com> To: Archie Cobbs Subject: Re: backgroud fsck is still locking up system (fwd) Cc: Nate Lawson , freebsd-current@FreeBSD.org In-Reply-To: Your message of "Fri, 06 Dec 2002 15:23:36 PST." <200212062323.gB6NNax4066877@arch20m.dellroad.org> Date: Fri, 06 Dec 2002 17:29:49 -0800 From: Kirk McKusick Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG From: Archie Cobbs Subject: Re: backgroud fsck is still locking up system (fwd) In-Reply-To: <200212062205.gB6M5q59093906@beastie.mckusick.com> To: Kirk McKusick Date: Fri, 6 Dec 2002 15:23:36 -0800 (PST) CC: Archie Cobbs , Nate Lawson , freebsd-current@FreeBSD.org X-ASK-Info: Whitelist match 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 Thanks for verifying that the idea works. I will attempt to figure out how to do it correctly and submit a proposed fix. Kirk McKusick To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message