Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Jan 2000 17:10:34 -0600
From:      Dan Nelson <dnelson@emsphone.com>
To:        spork <spork@super-g.com>
Cc:        freebsd-hackers@FreeBSD.ORG, noc@inch.com
Subject:   Re: high load, nothing happening? (LONG)
Message-ID:  <20000118171034.A4871@dan.emsphone.com>
In-Reply-To: <Pine.BSF.4.00.10001181728250.899-100000@super-g.inch.com>; from "spork" on Tue Jan 18 17:30:52 GMT 2000
References:  <20000118130250.A97656@dan.emsphone.com> <Pine.BSF.4.00.10001181728250.899-100000@super-g.inch.com>

next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (Jan 18), spork said:
> On Tue, 18 Jan 2000, Dan Nelson wrote:
> > CTRL-ALT-ESC, and at the prompt type in 'panic'.  You'll need DDB
> > compiled into the kernel, and crashdumps enabled.
> 
> By now, you should know my next question...  What am I looking at?  I
> built a kernel with "config -g" and the debugger option and made it
> panic while sitting at a load of 3.0...  Following the handbook
> instructions, I see this:

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
(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.

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 :)

-- 
	Dan Nelson
	dnelson@emsphone.com


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?20000118171034.A4871>