From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fcda7,d4c1f7c0fe672a4 X-Google-Attributes: gidfcda7,public X-Google-Thread: 111731,d4c1f7c0fe672a4 X-Google-Attributes: gid111731,public X-Google-Thread: 1164f8,d4c1f7c0fe672a4 X-Google-Attributes: gid1164f8,public X-Google-Thread: 10872d,d4c1f7c0fe672a4 X-Google-Attributes: gid10872d,public X-Google-Thread: 1020c6,d4c1f7c0fe672a4 X-Google-Attributes: gid1020c6,public X-Google-Thread: 1070f0,d4c1f7c0fe672a4 X-Google-Attributes: gid1070f0,public From: "Rev. Don Kool" Subject: Re: Different UNIX pro's and con's. Date: 1998/09/15 Message-ID: <35FE7F46.59918EAC@home.com>#1/1 X-Deja-AN: 391365562 Content-Transfer-Encoding: 7bit References: <35F71814.1E0B911C@iakom.com> <35FB1422.DAEB153D@home.com> <1998Sep13.165009.5046@lorelei.approve.se> <35FDE4C4.83878B2A@home.com> <6tkqta$m4b@web.nmti.com> Content-Type: text/plain; charset=us-ascii Organization: Jack Daniel's Field Testing Services, Inc. MIME-Version: 1.0 NNTP-Posting-Date: Tue, 15 Sep 1998 07:53:04 PDT Newsgroups: comp.unix.advocacy,comp.unix.admin,comp.sys.hp.hpux,comp.sys.sgi.admin,comp.sys.sun.admin,comp.sys.dec Peter da Silva wrote: > Rev. Don Kool wrote: > > You can't kill defunct processes. They only go away with a reboot. > If you can't kill them without a reboot, then either you're kidding us with > all that talk of understanding UNIX, or you have a broken device driver. Which > you DEFINITELY should find and fix, because it's seriously broken. We had a > problem like that on Xenix-286 for a while, with the tape drive. It was a > nightmare, fixing it without source. Maybe I'm not understanding it then... (Hey, I can admit it as easily as the next guy.). It's late in the afternoon and all the users have logged out and gone home for the day. You "rlogin" to a system for some reason or another and do a "ps agx" or "ps -ef" (depending on the OS). You see processes listed as "defunct" and nothing is running save the bare minimum to have the machine up (i.e., no applications, no window manager, no nothing except things like "ypbind" and such). Doing a "kill -9" on the "defunct" processes just returns a "no such process". Now they may not be taking up any CPU cycles or anything but they're taking up space in the process table and they're annoying me so they've got to go. Reboot. Don't get the idea that this is some kind of rampant, chronic problem or anything. It just happens now and then and a simple, painless reboot takes care of it just fine. > > Rule To Live By: If you're doing everything right but the machine > >still isn't behaving, reboot. Problem solved almost every time > >unless it's hardware. Time wasted going down blind alleys - 0 > >seconds. > That *is* a blind alley, because you haven't found the problem. It will > come back again. Perhaps. Sometimes machines just misbehave. A certain non-reproducable series of events in just the right order and at just the right time fucked something up. If the problem does become chronic, then you waste the time tracking it down. Other than that, you move on to the next few dozen jobs you've got to get done before lunch. While finding the exact, specific cause may be an interesting academic exercise, there isn't time for that at least not in our shop. Don -- ********************** You a bounty hunter? * Rev. Don McDonald * Man's gotta earn a living. * Baltimore, MD * Dying ain't much of a living, boy. ********************** "Outlaw Josey Wales" http://members.home.net/oldno7