| Summary: | load average constantly above 1.0, even when idle | ||
|---|---|---|---|
| Product: | Base System | Reporter: | Seth <seth> |
| Component: | kern | Assignee: | freebsd-bugs (Nobody) <bugs> |
| Status: | Closed FIXED | ||
| Severity: | Affects Only Me | ||
| Priority: | Normal | ||
| Version: | 4.3-STABLE | ||
| Hardware: | Any | ||
| OS: | Any | ||
|
Description
Seth
2001-05-15 15:10:02 UTC
In message <20010515140113.D071672501@psychotic.aberrant.org>, seth@psychotic.a berrant.org writes: > >This sounds similar to kern/21155, but occurs in -STABLE rather than >-CURRENT. It didn't happen on my old system (a dual-proc ppro 200), but >there are so many differences: smp, 4.0 (vs -stable) that it's not a good >comparison. Hi, could you try downloading http://www.maths.tcd.ie/~iedowse/FreeBSD/loadps.tgz and extracting the tarfile somewhere (/tmp or whatever). Then in the "loadps" directory, type: make ./loadps axlww This should show up all processes that are currently contributing to the load average. That should at least begin to narrow down what is causing these phantom load effects. (loadps is a normal -STABLE ps with a small adjustment that causes it see only processes that are contributing to the load average - this logic is copied from loadav() in sys/vm/vm_meter.c). Ian Ian,
Thanks. Here's the output:
psychotic 514: ./loadps axlww; uptime
UID PID PPID CPU PRI NI VSZ RSS WCHAN STAT TT TIME COMMAND
0 0 0 0 -18 0 0 0 sched DLs ?? 0:00.00 (swapper)
0 4 0 0 -18 0 0 0 psleep DL ?? 0:00.08 (bufdaemon)
1000 1994 1725 1 28 0 1084 616 - R+ p3 0:00.00 ./loadps axlww
11:42AM up 13:24, 4 users, load averages: 1.06, 1.03, 1.01
Seth.
On Tue, May 15, 2001 at 04:40:23PM +0100, Ian Dowse wrote:
> In message <20010515140113.D071672501@psychotic.aberrant.org>, seth@psychotic.a
> berrant.org writes:
> >
> >This sounds similar to kern/21155, but occurs in -STABLE rather than
> >-CURRENT. It didn't happen on my old system (a dual-proc ppro 200), but
> >there are so many differences: smp, 4.0 (vs -stable) that it's not a good
> >comparison.
>
> Hi, could you try downloading
>
> http://www.maths.tcd.ie/~iedowse/FreeBSD/loadps.tgz
>
> and extracting the tarfile somewhere (/tmp or whatever). Then in the
> "loadps" directory, type:
>
> make
> ./loadps axlww
>
> This should show up all processes that are currently contributing to
> the load average. That should at least begin to narrow down what
> is causing these phantom load effects.
>
> (loadps is a normal -STABLE ps with a small adjustment that causes it
> see only processes that are contributing to the load average - this
> logic is copied from loadav() in sys/vm/vm_meter.c).
>
> Ian
State Changed From-To: open->closed This is believed to be caused by synchronisation between some system processes and the samples that are used to compute the load avarage. Revision 1.87.2.4 of kern_synch.c and assiciated changes should fix this; please let us know if the problem continues to occur so that the PR can be re-opened if necessary. |