Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Jan 2000 02:18:56 -0500 (EST)
From:      Charles Sprickman <spork@inch.com>
To:        Dan Nelson <dnelson@emsphone.com>
Cc:        freebsd-hackers@FreeBSD.ORG, noc@inch.com
Subject:   Re: high load, nothing happening? (LONG)
Message-ID:  <Pine.BSF.4.21.0001190213310.18965-100000@shell.inch.com>
In-Reply-To: <20000118171034.A4871@dan.emsphone.com>

next in thread | previous in thread | raw e-mail | index | archive | help

On Tue, 18 Jan 2000, Dan Nelson wrote:

> The handbook instructions are for kernel-generated panics; for a manual
> panic like yours, the stack is unimportant.  The easiest way to see
> which processes are active is to run this:
> 
> (kgdb) source /usr/src/sys/modules/vinum/.gdbinit.kernel

Interesting, what's this do?

> (kgdb) ps

> And look at the 'stat' column.  Any processes with a stat of 1 or 2 are
> in the 'runnable' queue, which is what loadav measures.  There should
> be 3 or so processes in that state.

Did that, and every process had a stat of "3".
 
> And in response to anyone saying "Why did you tell him to panic the
> machine?  Why not just have him run ps": I could, but with all those
> apache processes lying around possibly forking children, I wanted a
> static picture of the system that wouldn't change from email to email :)

More importantly, this machine is just sitting here waiting to be put in
production, so I'm more than willing to play around with it like this
while I still can...  Thanks for the ongoing help, I've never touched a
debugger before, and this has been educational so far.  I'm coming off a
week or two of playing with NT machines, and it's nice to at least be able
to gather some info about what the machine is doing with OS-supplied
tools, which is something I found very difficult to do in NT GUI-land.

Thanks,

Charles

> 



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0001190213310.18965-100000>