All of lore.kernel.org
 help / color / mirror / Atom feed
* uptime is too high. Is it normal?
@ 2006-03-21 12:39 ` colin
  0 siblings, 0 replies; 6+ messages in thread
From: colin @ 2006-03-21 12:39 UTC (permalink / raw)
  To: linux-mips


Hi all,
We use MIPS Linux+uClibc0.9.28+busybox 1.1.0 on our machine.
After use "uptime" to get the loading of device, it shows: 
    03:50:05 up  3:50, load average: 2.00, 2.00, 2.00
Is it normal? It seems too high because my PC Linux has a much lower value:
    20:38:31 up 12 days,  5:11,  5 users,  load average: 0.04, 0.01, 0.00

Regards,
Colin

^ permalink raw reply	[flat|nested] 6+ messages in thread

* uptime is too high. Is it normal?
@ 2006-03-21 12:39 ` colin
  0 siblings, 0 replies; 6+ messages in thread
From: colin @ 2006-03-21 12:39 UTC (permalink / raw)
  To: linux-mips


Hi all,
We use MIPS Linux+uClibc0.9.28+busybox 1.1.0 on our machine.
After use "uptime" to get the loading of device, it shows: 
    03:50:05 up  3:50, load average: 2.00, 2.00, 2.00
Is it normal? It seems too high because my PC Linux has a much lower value:
    20:38:31 up 12 days,  5:11,  5 users,  load average: 0.04, 0.01, 0.00

Regards,
Colin

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: uptime is too high. Is it normal?
  2006-03-21 12:39 ` colin
  (?)
@ 2006-03-21 12:52 ` Ralf Baechle
  2006-03-21 13:14     ` colin
  -1 siblings, 1 reply; 6+ messages in thread
From: Ralf Baechle @ 2006-03-21 12:52 UTC (permalink / raw)
  To: colin; +Cc: linux-mips

On Tue, Mar 21, 2006 at 08:39:08PM +0800, colin wrote:

> Hi all,
> We use MIPS Linux+uClibc0.9.28+busybox 1.1.0 on our machine.
> After use "uptime" to get the loading of device, it shows: 
>     03:50:05 up  3:50, load average: 2.00, 2.00, 2.00
> Is it normal? It seems too high because my PC Linux has a much lower value:
>     20:38:31 up 12 days,  5:11,  5 users,  load average: 0.04, 0.01, 0.00

Well, check with ps what is causing the load.  Look for processes in
either 'D' or 'R' state.

  Ralf

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: uptime is too high. Is it normal?
@ 2006-03-21 13:14     ` colin
  0 siblings, 0 replies; 6+ messages in thread
From: colin @ 2006-03-21 13:14 UTC (permalink / raw)
  To: Ralf Baechle; +Cc: linux-mips


Hi Ralf,
Here is the result:

/usr/local/bin # ps -aux
  PID  Uid     VmSize Stat Command
    1 root        412 S   init
    2 root            SWN [ksoftirqd/0]
    3 root            SW< [events/0]
    4 root            SW< [khelper]
    5 root            SW< [kthread]
    6 root            SW< [kblockd/0]
    9 root            SW  [khubd]
   36 root            SW  [pdflush]
   37 root            SW  [pdflush]
   39 root            SW< [aio/0]
   38 root            SW  [kswapd0]
  645 root            SW  [645]
  646 root            DW  [646]
  647 root            DW  [647]
  648 root            SW  [648]
  649 root            SW  [mtdblockd]
  666 root            SW  [kjournald]
  680 root        380 S   /sbin/syslogd -p /tmp/.log -n -m 0
  681 root        348 S   /sbin/klogd -n
  753 root        400 S   inetd
  793 root        572 S   -sh
  794 root        416 S   init
  811 root        416 S   init
  822 root        416 S   init
  980 root            SW< [rpciod/0]
 1015 root        396 R   ps -aux
/usr/local/bin # uptime
 00:19:29 up 19 min, load average: 2.00, 1.95, 1.41

The uptime value keeps on going higher and higher.
It seems that both 646 & 647 process has the same parent "1".
Their "utime" are "0".

Thanks and regards,
Colin


----- Original Message ----- 
From: "Ralf Baechle" <ralf@linux-mips.org>
To: "colin" <colin@realtek.com.tw>
Cc: <linux-mips@linux-mips.org>
Sent: Tuesday, March 21, 2006 8:52 PM
Subject: Re: uptime is too high. Is it normal?


> On Tue, Mar 21, 2006 at 08:39:08PM +0800, colin wrote:
>
> > Hi all,
> > We use MIPS Linux+uClibc0.9.28+busybox 1.1.0 on our machine.
> > After use "uptime" to get the loading of device, it shows:
> >     03:50:05 up  3:50, load average: 2.00, 2.00, 2.00
> > Is it normal? It seems too high because my PC Linux has a much lower
value:
> >     20:38:31 up 12 days,  5:11,  5 users,  load average: 0.04, 0.01,
0.00
>
> Well, check with ps what is causing the load.  Look for processes in
> either 'D' or 'R' state.
>
>   Ralf

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: uptime is too high. Is it normal?
@ 2006-03-21 13:14     ` colin
  0 siblings, 0 replies; 6+ messages in thread
From: colin @ 2006-03-21 13:14 UTC (permalink / raw)
  To: Ralf Baechle; +Cc: linux-mips


Hi Ralf,
Here is the result:

/usr/local/bin # ps -aux
  PID  Uid     VmSize Stat Command
    1 root        412 S   init
    2 root            SWN [ksoftirqd/0]
    3 root            SW< [events/0]
    4 root            SW< [khelper]
    5 root            SW< [kthread]
    6 root            SW< [kblockd/0]
    9 root            SW  [khubd]
   36 root            SW  [pdflush]
   37 root            SW  [pdflush]
   39 root            SW< [aio/0]
   38 root            SW  [kswapd0]
  645 root            SW  [645]
  646 root            DW  [646]
  647 root            DW  [647]
  648 root            SW  [648]
  649 root            SW  [mtdblockd]
  666 root            SW  [kjournald]
  680 root        380 S   /sbin/syslogd -p /tmp/.log -n -m 0
  681 root        348 S   /sbin/klogd -n
  753 root        400 S   inetd
  793 root        572 S   -sh
  794 root        416 S   init
  811 root        416 S   init
  822 root        416 S   init
  980 root            SW< [rpciod/0]
 1015 root        396 R   ps -aux
/usr/local/bin # uptime
 00:19:29 up 19 min, load average: 2.00, 1.95, 1.41

The uptime value keeps on going higher and higher.
It seems that both 646 & 647 process has the same parent "1".
Their "utime" are "0".

Thanks and regards,
Colin


----- Original Message ----- 
From: "Ralf Baechle" <ralf@linux-mips.org>
To: "colin" <colin@realtek.com.tw>
Cc: <linux-mips@linux-mips.org>
Sent: Tuesday, March 21, 2006 8:52 PM
Subject: Re: uptime is too high. Is it normal?


> On Tue, Mar 21, 2006 at 08:39:08PM +0800, colin wrote:
>
> > Hi all,
> > We use MIPS Linux+uClibc0.9.28+busybox 1.1.0 on our machine.
> > After use "uptime" to get the loading of device, it shows:
> >     03:50:05 up  3:50, load average: 2.00, 2.00, 2.00
> > Is it normal? It seems too high because my PC Linux has a much lower
value:
> >     20:38:31 up 12 days,  5:11,  5 users,  load average: 0.04, 0.01,
0.00
>
> Well, check with ps what is causing the load.  Look for processes in
> either 'D' or 'R' state.
>
>   Ralf

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: uptime is too high. Is it normal?
  2006-03-21 13:14     ` colin
  (?)
@ 2006-03-21 13:36     ` Ralf Baechle
  -1 siblings, 0 replies; 6+ messages in thread
From: Ralf Baechle @ 2006-03-21 13:36 UTC (permalink / raw)
  To: colin; +Cc: linux-mips

On Tue, Mar 21, 2006 at 09:14:06PM +0800, colin wrote:

>   646 root            DW  [646]
>   647 root            DW  [647]
> 
> The uptime value keeps on going higher and higher.
> It seems that both 646 & 647 process has the same parent "1".
> Their "utime" are "0".

Yes, these two are the offenders.  A process should never be for a long
time in "D" state.  You'll have to figure out what these processes are
doing, but they something wrong with these two.

The load average btw is a fairly artificial meassure.  On a properly
working system it describes the burn of the workload of the system
reasonably well - but if things go wrong and cause processes to get
stuck in D state (aka uninterruptible sleep) then a system may well
still be perfectly responsive even though the load is very high.

  Ralf

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2006-03-21 13:26 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-21 12:39 uptime is too high. Is it normal? colin
2006-03-21 12:39 ` colin
2006-03-21 12:52 ` Ralf Baechle
2006-03-21 13:14   ` colin
2006-03-21 13:14     ` colin
2006-03-21 13:36     ` Ralf Baechle

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.