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

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000119094843.A65970>