[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Help debugging a hang?



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@sgi.com   SGI, Inc.