From owner-freebsd-questions Thu Jan 13 10:29:11 2000 Delivered-To: freebsd-questions@freebsd.org Received: from super-g.com (super-g.com [207.240.140.161]) by hub.freebsd.org (Postfix) with ESMTP id F239515960 for ; Thu, 13 Jan 2000 10:28:30 -0800 (PST) (envelope-from spork@super-g.com) Received: by super-g.com (Postfix, from userid 1000) id BAD7C10E46; Thu, 13 Jan 2000 13:28:29 -0500 (EST) Received: from localhost (localhost [127.0.0.1]) by super-g.com (Postfix) with SMTP id 99FD510E3C; Thu, 13 Jan 2000 13:28:29 -0500 (EST) Date: Thu, 13 Jan 2000 13:28:29 -0500 (EST) From: spork X-Sender: spork@super-g.inch.com To: FreeBSD mailing list Cc: Jonathan Chen , freebsd-questions@FreeBSD.ORG Subject: Re: high load, nothing happening? In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, 13 Jan 2000, FreeBSD mailing list wrote: > what ???? > you are asking why high load ??? > don;t you see you have 500 processes on your box ?? > it's normal to have 3 of load average if you got 500 processes! Here's a snippet from a shell/web server that is doing actual work. It has less memory, a slower processor and a number of interactive users. The load however rarely climbs above 1.0 unless a process goes runaway: last pid: 25042; load averages: 0.38, 0.35, 0.63 13:26:43 301 processes: 1 running, 300 sleeping CPU states: 0.4% user, 0.0% nice, 0.8% system, 0.8% interrupt, 98.1% idle Mem: 119M Active, 44M Inact, 36M Wired, 34M Cache, 6027K Buf, 17M Free Swap: 640M Total, 37M Used, 603M Free, 6% Inuse PID USERNAME PRI NICE SIZE RES STATE TIME WCPU CPU COMMAND 25040 root 28 0 844K 1120K RUN 0:00 1.89% 0.34% top 24823 freddy 2 0 4180K 2964K select 0:00 0.23% 0.23% pine4.21 24919 byman 3 0 796K 1040K ttyin 0:00 0.04% 0.04% tcsh 24537 inch_hom 2 0 640K 872K sbwait 0:00 0.04% 0.04%httpd-1.3.3-us So I'd kind of assume I wouldn't see a radical difference between a machine with 500 idle processes and one that's running 300 and is in active use... thanks though, Charles > Rick > > > On Thu, 13 Jan 2000, spork wrote: > > > > > On Thu, 13 Jan 2000, Jonathan Chen wrote: > > > On Wed, Jan 12, 2000 at 05:45:56PM -0500, spork wrote: > > > > > > [...] > > > > So that's the info, my questions are "why the load", and "is that OK"? > > > > Something seems wrong here, but I'm at a loss. > > > > > > What does top(1) report? > > > > Not much: > > > > last pid: 23684; load averages: 3.74, 1.96, 1.46 up 7+21:10:15 10:35:38 > > 449 processes: 1 running, 448 sleeping > > CPU states: 0.0% user, 0.0% nice, 2.7% system, 0.0% interrupt, 97.3% idle > > Mem: 62M Active, 355M Inact, 45M Wired, 8350K Buf, 418M Free > > Swap: 784M Total, 784M Free > > > > PID USERNAME PRI NICE SIZE RES STATE TIME WCPU CPU COMMAND > > 23684 root 30 0 1976K 944K RUN 0:00 3.08% 0.29% top > > 904 root 2 -12 1036K 720K select 0:31 0.00% 0.00% xntpd > > 4163 root 2 0 1468K 1096K select 0:13 0.00% 0.00% > > httpd-apache_1 > > 3399 root 2 0 1468K 1096K select 0:13 0.00% 0.00% > > httpd-apache_1 > > > > Weird... > > > > Charles > > > > > Jonathan Chen > > > -------------------------------------------------------------------- > > > Contrary to popular belief, > > > penguins are not the salvation of modern technology. > > > Neither do they throw parties for the urban proletariat. > > > > > > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-questions" in the body of the message > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message