xfs
[Top] [All Lists]

Re: System freezes with high kernel CPU usage

To: Russell Howe <rhowe@xxxxxxxxxx>
Subject: Re: System freezes with high kernel CPU usage
From: Eric Sandeen <sandeen@xxxxxxx>
Date: 21 Aug 2002 10:02:06 -0500
Cc: linux-xfs@xxxxxxxxxxx
In-reply-to: <20020821044654.GA1754@xiao>
References: <20020820153329.GA13136@xiao> <20020821044654.GA1754@xiao>
Sender: owner-linux-xfs@xxxxxxxxxxx
Russell - 

The other thing you might do is compile in kdb, and when it locks up see
if you can get into kdb.  (You'd need to get to a text console, then hit
the "pause" key).

Once in kdb, "ps" will show you running processes, and then "btp <pid>"
will show you the backtrace for <pid>.  "bta" will show you all
backtraces.  You can look through those to see if anything seems to be
stuck waiting for a lock, etc.  It's easier to capture the output if you
have another machine connected to kdb via serial, but you can just poke
around and take notes by hand if you don't have a serial console

On the off chance that this has something to do with your almost-full
filesystem, you could try unmounting it and seeing if the machine stays
up - I don't think this is likely to be the problem, though.

-Eric

On Tue, 20


02-08-20 at 23:47, Russell Howe wrote:
> On Tue, Aug 20, 2002 at 04:33:38PM +0100, Russell Howe wrote:
> > Hi,
> > 
> > XFS has been performing great for me so far on my desktop machine (a
> > dual CPU system), although lately I've noticed some odd behaviour. The
> > system will lock up for several seconds, respond for a split second,
> > then lock up again for another 5-10 seconds or so, then again, this goes
> > on for a minute or two. The system isn't under any load at the time, X
> > is running, noatun open playing MP3s (although without the rest of KDE).
> > Just light normal use.
> 
> OK, the system just locked up completely. I had to power-cycle it.
> 15mins after it had booted, the same thing as described previously
> happened, so it's not really related to something that accumulates over
> time. I'd only just logged into gdm and loaded an IRC client before it
> froze.
> 
> I managed to do some rough timings of the freezes.. they went on for 3
> or 4 mins, and the system remained frozen at 100% kernel CPU for about
> 15-20 seconds at a time (I think I was measuring 25 seconds, then 20,
> then 15 for the last minute or so). Afterwards, the system responds
> normally.
> 
> I will checkout the latest CVS (proper 2.4.19 etc) and see if that makes
> any difference. Any idea if it is likely to?
> 
> -- 
> Russell Howe     | Why be just another cog in the machine,
> rhowe@xxxxxxxxxx | when you can be the spanner in the works?
-- 
Eric Sandeen      XFS for Linux     http://oss.sgi.com/projects/xfs
sandeen@xxxxxxx   SGI, Inc.         651-683-3102


<Prev in Thread] Current Thread [Next in Thread>