xfs
[Top] [All Lists]

Re: Help debugging a hang?

To: Dave Alden <alden@xxxxxxxxxxxxxxxxxxx>
Subject: Re: Help debugging a hang?
From: Eric Sandeen <sandeen@xxxxxxx>
Date: 10 May 2002 17:10:05 -0500
Cc: linux-xfs@xxxxxxxxxxx
In-reply-to: <20020510175928.A13815@xxxxxxxxxxxxxxxxxxx>
References: <20020510175928.A13815@xxxxxxxxxxxxxxxxxxx>
Sender: owner-linux-xfs@xxxxxxxxxxx
Hi Dave -

If you have KDB enabled, there are a few things you can do to see what's
going on.

If the whole machine is locked up, just type "bt" to get a backtrace of
the current hung process.  If it's just one process that's locked up,
type "ps" to get the pid of that process, then type "btp <pid>" to
backtrace that process.

After that, it depends on what has gone wrong, to know what to look at
next.  But those first couple steps can tell us quite a bit, in many
cases.

-Eric

On Fri, 2002-05-10 at 16:59, Dave Alden wrote:
> Hi,
>   I recently replaced an aging Solaris NFS server with a Linux NFS server
> (running XFS of course :-).  After a couple of weeks without any problems
> the server decided to lockup.  I was able to send a break (through a serial
> console), so I did a Sync followed by a reBoot.  Now, in case this happens
> again, does anyone have any pointers on where to read up on how to figure
> out where it's locking up?
> ...thnx,
> ...dave
-- 
Eric Sandeen      XFS for Linux     http://oss.sgi.com/projects/xfs
sandeen@xxxxxxx   SGI, Inc.


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