From owner-freebsd-stable@FreeBSD.ORG Thu Nov 1 18:32:59 2007 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4547C16A479; Thu, 1 Nov 2007 18:32:59 +0000 (UTC) (envelope-from rhurlin@gwdg.de) Received: from amailer.gwdg.de (amailer.gwdg.de [134.76.10.18]) by mx1.freebsd.org (Postfix) with ESMTP id F123313C4B8; Thu, 1 Nov 2007 18:32:58 +0000 (UTC) (envelope-from rhurlin@gwdg.de) Received: from p578b68b8.dip0.t-ipconnect.de ([87.139.104.184] helo=krabat.raven.hur) by mailer.gwdg.de with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.67) (envelope-from ) id 1Incj0-0007Lr-OX; Thu, 01 Nov 2007 17:16:55 +0100 Message-ID: <4729FBF5.5010705@gwdg.de> Date: Thu, 01 Nov 2007 17:16:53 +0100 From: Rainer Hurling User-Agent: Thunderbird 2.0.0.6 (X11/20071031) MIME-Version: 1.0 To: Kris Kennaway References: <027d01c8125c$73d4db80$c8c55358@delloleg><20071019220501.GL31826@elvis.mu.org> <20071020082724.GA87825@svzserv.kemerovo.su> <008d01c812f5$7aad62d0$eec55358@W2KOOOD> <4719F786.80708@gwdg.de> <47278BFA.90705@FreeBSD.org> <472843CC.8070604@nw-fva.de> <4728F747.6030607@FreeBSD.org> In-Reply-To: <4728F747.6030607@FreeBSD.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Authenticated: Id:rhurlin X-Spam-Level: - X-Virus-Scanned: (clean) by exiscan+sophie Cc: Eugen Grosbein , freebsd-stable@freebsd.org, Oleg Derevenetz Subject: Re: kern/104406: [ufs] Processes get stuck in "ufs" state under persistent CPU load X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Nov 2007 18:32:59 -0000 Kris Kennaway schrieb: > Rainer Hurling wrote: >> Thanks for your answer. >> >> Kris Kennaway schrieb: >>> Rainer Hurling wrote: >>>> Looking into PR kern/104406 it seems, that this describes exactly >>>> what I am experiencing on three of my systems over the last weeks. >>>> They are running FreeBSD 8.0-CURRENT (known as 7.0-CURRENT not long >>>> ago ;-) ). >>> >>> Actually it sounds nothing like it at all ;) >>> >>>> On these machines I often observe hangings, sometimes only a few >>>> seconds, on other times 20-30 seconds before input/output is back. >>>> This seems to happen when more extensive disk usage is needed >>>> (portupgrade, buildworld, browsing complicated websites etc.). >>>> During the hang even xterm is not responding any more, other >>>> (diskless) applications like xclock keep to continue. I have no >>>> panics, only UFS (and MSDOSFS) are mounted, no NTFS. About two >>>> months ago none of my systems showed these hangings. >>> >>> Is your system swapping? This is the usual cause of pauses during >>> high application (actually memory) load. >>> >>> Kris >> >> No, I am working with 2GB RAM, without swapping at all. >> >> In the meantime I tested the above described behaviour a little more. >> The hangings even appeared without using Xorg, only working on >> consoles under heavy disk usage (portupgrade etc.). > > OK, configure the system with the debugger and when it is "hung", break > to DDB and obtain the data requested in the developers handbook to try > and investigate what is going on. You may want to do this a few times > to make sure you capture a representative sample. > > Kris I hope to find some time on tomorrow for my first session in kernel debugging ;-) Am I right with chapter 'on-line kernel debugging using ddb'? What kind of information is most usefull? Rainer