Re: got load > 1 but no CPU state is showing?

2003-06-27 Thread Stijn Hoop
On Mon, Jun 16, 2003 at 12:34:29PM -0500, Michael D Hughes wrote:
> What does "systat -vm" show?

OK, it happened again, so I tried your suggestion. Guess what, it waits
5 seconds then prints this:

The alternate system clock has died!
Reverting to ``pigs'' display.

I don't know what the 'alternate system clock' is supposed to be but my
guess is the CMOS battery ran out or something like that. I'm going to
check that at the next available opportunity.

Thanks for your suggestion!

--Stijn

-- 
Tact, n.:
The unsaid part of what you're thinking.


pgp0.pgp
Description: PGP signature


Re: got load > 1 but no CPU state is showing?

2003-06-16 Thread Stijn Hoop
On Mon, Jun 16, 2003 at 01:19:59PM -0400, Chuck Swiger wrote:
> Stijn Hoop wrote:
> > On a lightly loaded server top is misbehaving: it continuously shows all
> > CPU states at 0.0% yet my load varies from 0.50 to about 3. Is there
> > any explanation for this?
> 
> Maybe.  :-)  I was going to say that on fast machines, it's not unusual for 
> processes which start up and then finish quickly to go away before top 
> "sees" them, but you still see the effect in the aggregate system load.  

Yes, that was wat I was babbling about wrt "syncing".

> However, that doesn't explain this line:
> 
> > CPU states:  0.0% user,  0.0% nice,  0.0% system,  0.0% interrupt,  0.0% 
> idle
> 
> Clutching at straws, maybe top can't read /dev/kmem or something?
> Try doing a "MAKEDEV all" in /dev...

A reboot solved my problems -- while examining this phenomenon PostgreSQL
came to a halt and wouldn't restart due to a lack of available shared memory,
although ipcs(1) didn't show any active handles. Since I needed the database
server, I had to reboot.

I suspect something hardwarish though, I've never seen this kind of weird
behaviour before.

--Stijn

-- 
The rain it raineth on the just
And also on the unjust fella,
But chiefly on the just, because
The unjust steals the just's umbrella.


pgp0.pgp
Description: PGP signature


Re: got load > 1 but no CPU state is showing?

2003-06-16 Thread Chuck Swiger
Stijn Hoop wrote:
On a lightly loaded server top is misbehaving: it continuously shows all
CPU states at 0.0% yet my load varies from 0.50 to about 3. Is there
any explanation for this?
Maybe.  :-)  I was going to say that on fast machines, it's not unusual for 
processes which start up and then finish quickly to go away before top "sees" 
them, but you still see the effect in the aggregate system load.  However, that 
doesn't explain this line:

> CPU states:  0.0% user,  0.0% nice,  0.0% system,  0.0% interrupt,  0.0% idle

Clutching at straws, maybe top can't read /dev/kmem or something?
Try doing a "MAKEDEV all" in /dev...
-Chuck



___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: got load > 1 but no CPU state is showing?

2003-06-16 Thread Stijn Hoop
On Mon, Jun 16, 2003 at 09:25:24AM -0500, Thomas T. Veldhouse wrote:
> Any chance you are running an SMP system?  You might be seeing the usage of
> only one CPU?

Nope, UP only.

--Stijn

-- 
"Harry, I'm going to let you in on a little secret. Every day, once a day,
 give yourself a present. Don't plan it, don't wait for it, just let it
 happen. Could be a new shirt at the men's store, a catnap in your office
  chair, or... two cups of good, hot, black coffee. Like this."
-- Special Agent Dale Cooper, "Twin Peaks"


pgp0.pgp
Description: PGP signature


Re: got load > 1 but no CPU state is showing?

2003-06-16 Thread Thomas T. Veldhouse
Any chance you are running an SMP system?  You might be seeing the usage of
only one CPU?

Tom Veldhouse

- Original Message -
From: "Stijn Hoop" <[EMAIL PROTECTED]>
To: "Thomas T. Veldhouse" <[EMAIL PROTECTED]>
Cc: "FreeBSD-Questions" <[EMAIL PROTECTED]>
Sent: Monday, June 16, 2003 9:19 AM
Subject: Re: got load > 1 but no CPU state is showing?

On Mon, Jun 16, 2003 at 09:14:39AM -0500, Thomas T. Veldhouse wrote:
> Load averages and current load are two different things.  I suspect you
> didn't catch it when it was busy.

I know, but I've been running top for about 15 minutes now, and it
consistently
shows 0.0%. I can also assume that top has gotten in sync with somehow, but
then again I have more than 1 runnable process on average over the last
15 minutes, so I would suspect that some other process should also get some
CPU.

And of course I also ran top on other terminals -- could they all be in sync
at the same time or something?

--Stijn

--
"Computer games don't affect kids; I mean if Pac-Man affected us as kids,
we'd all be running around in darkened rooms, munching magic pills and
listening to repetitive electronic music."
  -- Kristian Wilson, Nintendo, Inc., 1989


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: got load > 1 but no CPU state is showing?

2003-06-16 Thread Stijn Hoop
On Mon, Jun 16, 2003 at 09:14:39AM -0500, Thomas T. Veldhouse wrote:
> Load averages and current load are two different things.  I suspect you
> didn't catch it when it was busy.

I know, but I've been running top for about 15 minutes now, and it consistently
shows 0.0%. I can also assume that top has gotten in sync with somehow, but
then again I have more than 1 runnable process on average over the last
15 minutes, so I would suspect that some other process should also get some
CPU.

And of course I also ran top on other terminals -- could they all be in sync
at the same time or something?

--Stijn

-- 
"Computer games don't affect kids; I mean if Pac-Man affected us as kids,
we'd all be running around in darkened rooms, munching magic pills and
listening to repetitive electronic music."
-- Kristian Wilson, Nintendo, Inc., 1989


pgp0.pgp
Description: PGP signature


Re: got load > 1 but no CPU state is showing?

2003-06-16 Thread Thomas T. Veldhouse
Load averages and current load are two different things.  I suspect you
didn't catch it when it was busy.

Tom Veldhouse

- Original Message -
From: "Stijn Hoop" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, June 16, 2003 9:11 AM
Subject: got load > 1 but no CPU state is showing?

Hi,

On a lightly loaded server top is misbehaving: it continuously shows all
CPU states at 0.0% yet my load varies from 0.50 to about 3. Is there
any explanation for this?

Obviously, my kernel + world are in sync, running 4.8-RELEASE.
Rebuilding top did no good.

--Stijn

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"