From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,d854f3f68cb90fb3 X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1993-09-23 00:54:43 PST Newsgroups: comp.unix.osf.osf1 Path: gmd.de!newsserver.jvnc.net!howland.reston.ans.net!europa.eng.gtefsd.com!uunet!news.univie.ac.at!cosy.sbg.ac.at!wzwei From: wzwei@cosy.sbg.ac.at (Wolfgang Zweimueller) Subject: Re: /sbin/init hogging cpu? Message-ID: Sender: news@cosy.sbg.ac.at Nntp-Posting-Host: eule Organization: University of Salzburg / Austria X-Newsreader: TIN [version 1.2 PL1] References: Date: Thu, 23 Sep 1993 07:06:05 GMT 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 | | +------------------------------------+----------------------------------------+