Date: Sun, 25 Mar 2001 23:30:40 +0200 (CEST) From: Paul Herman <pherman@frenchfries.net> To: Ryan Thompson <ryan@sasknow.com> Cc: j mckitrick <jcm@FreeBSD-uk.eu.org>, <freebsd-questions@FreeBSD.ORG> Subject: Re: interpreting 'load' statistics Message-ID: <Pine.BSF.4.33.0103252320280.13408-100000@husten.security.at12.de> In-Reply-To: <Pine.BSF.4.21.0103251220010.99384-100000@ren.sasknow.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 25 Mar 2001, Ryan Thompson wrote:
> j mckitrick wrote to freebsd-questions@FreeBSD.ORG:
>
> >
> > When you run 'w' or 'uptime', how can you interpret the load
> > statistics? I always thought under 1 was okay. I read that somewhere
> > but now I'm not so sure.
The others have already given good answers, but when I read...
> Make a fork bomb.
> Run the fork bomb AS A NORMAL USER.
> As root, run uptime.
> Kill the fork bomb.
>
> ryan@stimpy$ uptime
> 1:01PM up 91 days, 10:17, 3 users, load averages: 572.68, 607.01, 388.05
...I just wanted to point out that there is an interesting 'feature'
that I found when testing the same thing. The load only goes up to
1024.00. After that, it rolls back over to 0.00.
09:22:12{{ttyp4}pherman@husten}~//> uptime
9:24AM up 21 mins, 1 user, load averages: 1000.21, 723.32, 429.71
09:24:11{{ttyp4}pherman@husten}~//> uptime
9:25AM up 23 mins, 1 user, load averages: 1023.58, 805.98, 492.73
09:25:50{{ttyp4}pherman@husten}~//> uptime
9:25AM up 23 mins, 1 user, load averages: 0.74, 809.83, 495.92
09:25:53{{ttyp4}pherman@husten}~//> uptime
9:26AM up 23 mins, 1 user, load averages: 160.21, 817.34, 502.26
09:26:00{{ttyp4}pherman@husten}~//> ps ax | wc
1075 6450 41030
I found this out on a machine with only 64MB RAM which ain't an easy
trick, but I could still get work done on the machine and kill the
processes without any major problems, and I didn't have to reboot.
Gotta love FreeBSD.
-Paul.
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.33.0103252320280.13408-100000>
