From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1070f0,d4c1f7c0fe672a4 X-Google-Attributes: gid1070f0,public X-Google-Thread: 1020c6,d4c1f7c0fe672a4 X-Google-Attributes: gid1020c6,public X-Google-Thread: fcda7,d4c1f7c0fe672a4 X-Google-Attributes: gidfcda7,public X-Google-Thread: 10872d,d4c1f7c0fe672a4 X-Google-Attributes: gid10872d,public X-Google-Thread: 1164f8,d4c1f7c0fe672a4 X-Google-Attributes: gid1164f8,public X-Google-Thread: 111731,d4c1f7c0fe672a4 X-Google-Attributes: gid111731,public From: kwthomas@wizard.nssl.noaa.gov (Kevin W. Thomas) Subject: Re: Different UNIX pro's and con's. Date: 1998/09/16 Message-ID: <6tovb9$rs4$1@enterprise.nssl.noaa.gov>#1/1 X-Deja-AN: 391785457 References: <35F71814.1E0B911C@iakom.com> <35FDE4C4.83878B2A@home.com> <35FF02B1.D5890477@home.com> Organization: National Severe Storms Laboratory Newsgroups: comp.unix.advocacy,comp.unix.admin,comp.sys.hp.hpux,comp.sys.sgi.admin,comp.sys.sun.admin,comp.sys.dec In article <35FF02B1.D5890477@home.com>, Rev. Don Kool wrote: >Mark Lehrer wrote: >> >> "Rev. Don Kool" writes: >> >> > > If you don't fancy fixing the broken program then you only need >> > > to kill it. Rebooting just to get rid of defunct processes is >> > > overdoing it. > >> > You can't kill defunct processes. They only go away with a reboot. > >> I believe they go away when their parent goes away. > > They're supposed to. If they did what they were supposed to do, >they wouldn't be there in the first place. > >> > I love rebooting the machine! It's like bringing in fresh laundry >> > from the line. Everything is so clean it's almost like it was new >> > again. >> > >> > 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. > >> Now you're being a troll. A system should NEVER need a reboot. > > "NEVER need a reboot"... They all need to be rebooted or they >slowly grind to a halt over time. "/tmp" starts to fill, you get a >few "defunct" processes hanging around not paying rent, you've >collected a few 'Stale NFS file handles' along the way, a tape drive >or CDROM player has hiccupped and stopped communicating with the >workstation, etc... Embrace the reboot and even the "maintenance >reboot" via "cron". Your system will love you for it and you'll >have more of your valuable time free to solve real problems. I've running the following Sun OS's: 4.0.3, 4.1, 4.1.1, 4.1.2, 4.1.3, 4.1.3_U1, 4.1.4, 5.5.1, and 5.6. I've never seen one "grind to a halt over time". Performance just doesn't go downhill over time. If "/tmp" fills up, write a cron job that cleans out files older than a certain date. Rebooting because /tmp fills up is an indication of either a lack of knowledge of UNIX, or just plain laziness! If you have defunct processes, fix your software. Also make sure your OS patches are up to date. Unless you've moved filesystems on your server, "Stale NFS file handles" are a consequence of user action. I've never had a tape drive stop communicating unless it has totally failed. In this case, it needs to be removed and sent out for repair. (We've had way too many failures, so this is one of the big reasons for bringing a system down and rebooting.) >> If you're going to reboot, you had better at least understand why the >> problem occurred, or else you're not going to solve it. > > I'll never understand some people's aversion to something as simple >as a reboot. Shit; if the user has gone home for the day and I need >to stop and restart the automounter or something similar, sometimes >I'll just "rsh" over the "reboot" command rather than bother with >looking up the PID, killing it with a "TERM", etc... I'm not going >for any kind of time up record on my systems. Longest uninterrupted >stretch of uptime is not what interests my users. Highest >percentage of usable uptime during their shift is. Do you ever check to see if your users are running a long job that may take hours to complete? [Religous dribble deleted.] >-- >********************** 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 Kevin W. Thomas Sun System Administrator & Meteorologist National Severe Storms Laboratory Norman, Oklahoma Email: kwthomas@wizard.nssl.noaa.gov