Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: wzwei@cosy.sbg.ac.at (Wolfgang Zweimueller)
Subject: Re: /sbin/init hogging cpu?
Date: Thu, 23 Sep 1993 07:06:05 GMT	[thread overview]
Message-ID: <CDsp26.9xq@cosy.sbg.ac.at> (raw)
In-Reply-To: CDrwsK.5qG@cc.swarthmore.edu

Eiji Hirai (hirai@cc.swarthmore.edu) wrote:
: DEC OSF/1 1.3 on a DEC 3000/400.  I'm using 'eager' swapping.

: When I do a ps ax,

: : 4:50pm,oak,[~]# ps ax
: :   PID TT  STAT      TIME COMMAND
: :     0 ??  R <  8401:38.63 [kernel idle]
: :     1 ??  R    1881:18.31 /sbin/init -a
: :     2 ??  I      0:00.16 [exception hdlr]
: :    12 ??  S <    3:08.03 /sbin/update
: :   101 ??  S      6:43.89 /usr/sbin/syslogd
: :   103 ??  IW     0:00.02 /usr/sbin/binlogd
:   
: I notice that /sbin/init is taking up a lot of cpu time.  Should I worry
: about this?  On another DEC 3000/400 running DEC OSF/1 1.3, the cpu times
: are very different:

: : 4:51pm,gingko,[~]% ps ax
: :   PID TT  STAT      TIME COMMAND
: :     0 ??  R <  8774:11.82 [kernel idle]
: :     1 ??  I      0:50.81 /sbin/init -a
: :     2 ??  I      0:00.01 [exception hdlr]
: :    12 ??  S      0:36.04 /sbin/update
: :    99 ??  S      0:00.81 /usr/sbin/syslogd
: :   101 ??  I      0:00.02 /usr/sbin/binlogd

: Should I worry, or is it dependent on how "busy" the machines are?  Or am I
: not asking the right questions?  According to uptime, both machines were
: last rebooted about the same time (gingko 6 days ago, oak 8 days ago) but I
: can't believe 2 days worth of uptime will make such a difference.

We have a DEC 3000/500 with OSF/1 1.3 and my ps after 9 days of uptime shows:

  PID TT  STAT      TIME COMMAND
    0 ??  R <  13852:27.07 [kernel idle]
    1 ??  I      1:04.78 /sbin/init -a
    2 ??  I      0:00.01 [exception hdlr]
   11 ??  S <    2:42.97 /sbin/update
    .
    .
    .

I believe that you have a problem with your inittab and some getty-processes
because init spawns them and therefore they can produce this cpu-usage.
Have a look at your accounting (lastcomm) to see how many processes were 
spawned by init. A possible cause may me the usage of LAT-Connections, but 
only if there are really much of them.
Also look at your syslog-Output if enabled.

Also it can be a bug :-)

What do the people from DEC think about this? Let me here too!

+------------------------------------+----------------------------------------+
|Wolfgang Zweimueller                |                                        |
|Tech Consult                        |                                        |
|Jakob Haringer Strasse 1            |                                        |
|A-5020 SALZBURG, AUSTRIA            |                                        |
+------------------------------------+----------------------------------------+
|E-Mail: wzwei@tcs.co.at             |   Voice: (0043)662-452488-78           |
|        wzwei@cosy.sbg.ac.at        |                                        |
+------------------------------------+----------------------------------------+


      reply	other threads:[~1993-09-23  7:06 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1993-09-22 20:55 /sbin/init hogging cpu? Eiji Hirai
1993-09-23  7:06 ` Wolfgang Zweimueller [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox