From owner-freebsd-hackers Tue Jan 18 15:12:34 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by hub.freebsd.org (Postfix) with ESMTP id 28A7615089 for ; Tue, 18 Jan 2000 15:12:27 -0800 (PST) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.9.3/8.9.3) id RAA06224; Tue, 18 Jan 2000 17:10:34 -0600 (CST) (envelope-from dan) Date: Tue, 18 Jan 2000 17:10:34 -0600 From: Dan Nelson To: spork Cc: freebsd-hackers@FreeBSD.ORG, noc@inch.com Subject: Re: high load, nothing happening? (LONG) Message-ID: <20000118171034.A4871@dan.emsphone.com> References: <20000118130250.A97656@dan.emsphone.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: ; from "spork" on Tue Jan 18 17:30:52 GMT 2000 X-OS: FreeBSD 4.0-CURRENT Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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