Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* /sbin/init hogging cpu?
@ 1993-09-22 20:55 Eiji Hirai
  1993-09-23  7:06 ` Wolfgang Zweimueller
  0 siblings, 1 reply; 2+ messages in thread
From: Eiji Hirai @ 1993-09-22 20:55 UTC (permalink / raw)


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.

-- 
hirai@cc.swarthmore.edu (Eiji Hirai) | Unix Geek for Swarthmore College
I don't speak for Swarthmore College | Computing Center, Swarthmore, PA, USA

"I post, therefore I am." -Rene Descartes on Usenet


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

* Re: /sbin/init hogging cpu?
  1993-09-22 20:55 /sbin/init hogging cpu? Eiji Hirai
@ 1993-09-23  7:06 ` Wolfgang Zweimueller
  0 siblings, 0 replies; 2+ messages in thread
From: Wolfgang Zweimueller @ 1993-09-23  7:06 UTC (permalink / raw)


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        |                                        |
+------------------------------------+----------------------------------------+


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

end of thread, other threads:[~1993-09-23  7:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1993-09-22 20:55 /sbin/init hogging cpu? Eiji Hirai
1993-09-23  7:06 ` Wolfgang Zweimueller

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