home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.sun.admin
- Path: sparky!uunet!mcsun!ieunet!tcdcs!maths.tcd.ie!ajudge
- From: ajudge@maths.tcd.ie (Alan Judge)
- Subject: Re: /sbin/init burns cpu time?
- Message-ID: <1992Nov23.171720.29060@maths.tcd.ie>
- Keywords: Sun4/25 ELC SUNOS4.1.1B init
- Organization: Dept. of Maths, Trinity College, Dublin, Ireland.
- References: <1eot3oINN5ac@coli-gate.coli.uni-sb.de> <2B1000F2.11231@ics.uci.edu> <1eqrmpINNgg9@coli-gate.coli.uni-sb.de>
- Date: Mon, 23 Nov 1992 17:17:20 GMT
- Lines: 29
-
- hfi@coli.uni-sb.de (Hannes Fischer) writes:
- >sam@john-bigboote.ics.uci.edu (Sam Horrocks) writes:
- >>In <1eot3oINN5ac@coli-gate.coli.uni-sb.de> hfi@coli.uni-sb.de (Hannes Fischer) writes:
-
- >>>Hi everyone,
- >>> [init using lots of cpu time]
-
- >>Try doing a "trace -p 1". You'll probably see that init is constantly
- >>getting a SIGSEGV, recovering and then getting another SIGSEGV. I've
- >>seen this happen when making changes to ttytab and sending a SIGHUP to
- >>init to get it to re-read the file. Sometimes it'll pick up the
- >>changes and sometimes it'll just start SIGSEGV'ing.
-
- >>The only fix is to reboot. If you can't do that, renice it +19 until
- >>you can reboot.
-
- >You hit the nail squarely on the head - I'm enabling/disabling a modem
- >getty on ttya out of a cron job (<sribble /etc/ttytab>; kill -HUP 1), and
- >init gets into that SIGSEGV loop.
-
- What I discovered in the past is that init does not like having no
- gettys enabled in ttytab. If you disable the last getty, init goes
- into some sort of loop. It doesn't happen if, for example, you
- have a getty on ttyb and disable ttya.
- --
- Alan Judge ajudge@maths.tcd.ie a.k.a. amjudge@dsg.cs.tcd.ie +353-1-7021782
-
- A year spent in Artificial Intelligence is enough to make one believe in God.
- -- Alan Perlis
-