From owner-freebsd-hackers Wed Jan 19 7:48:49 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 D279C1500C for ; Wed, 19 Jan 2000 07:48:47 -0800 (PST) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.9.3/8.9.3) id JAA68929; Wed, 19 Jan 2000 09:48:44 -0600 (CST) (envelope-from dan) Date: Wed, 19 Jan 2000 09:48:43 -0600 From: Dan Nelson To: Charles Sprickman Cc: freebsd-hackers@FreeBSD.ORG, noc@inch.com Subject: Re: high load, nothing happening? (LONG) Message-ID: <20000119094843.A65970@dan.emsphone.com> References: <20000118171034.A4871@dan.emsphone.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: ; from "Charles Sprickman" on Wed Jan 19 02:18:56 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 19), Charles Sprickman said: > 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? It loads a whole slew of gdb macros that Greg Lehey put together while debugging vinum. > > (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". Hm. Then your instantaneous loadavg at the time of the dump was 0. > 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. Have you tried moving the apache binary from your running server over to this one and see if the load goes down? I mentioned before that it looked like you were running two different versions of apache. -- Dan Nelson dnelson@emsphone.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message