From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10872d,d4c1f7c0fe672a4 X-Google-Attributes: gid10872d,public X-Google-Thread: 111731,d4c1f7c0fe672a4 X-Google-Attributes: gid111731,public X-Google-Thread: 1020c6,d4c1f7c0fe672a4 X-Google-Attributes: gid1020c6,public X-Google-Thread: 1070f0,d4c1f7c0fe672a4 X-Google-Attributes: gid1070f0,public X-Google-Thread: 1164f8,d4c1f7c0fe672a4 X-Google-Attributes: gid1164f8,public X-Google-Thread: fcda7,d4c1f7c0fe672a4 X-Google-Attributes: gidfcda7,public From: "Rev. Don Kool" Subject: Re: Different UNIX pro's and con's. Date: 1998/09/18 Message-ID: <3601DE1E.B03FA547@home.com> X-Deja-AN: 392288971 Content-Transfer-Encoding: 7bit References: <35F71814.1E0B911C@iakom.com> <35FDE4C4.83878B2A@home.com> <35FF02B1.D5890477@home.com> <6tovb9$rs4$1@enterprise.nssl.noaa.gov> Content-Type: text/plain; charset=us-ascii Organization: Jack Daniel's Field Testing Services, Inc. MIME-Version: 1.0 NNTP-Posting-Date: Thu, 17 Sep 1998 21:14:31 PDT Newsgroups: comp.unix.advocacy,comp.unix.admin,comp.sys.hp.hpux,comp.sys.sgi.admin,comp.sys.sun.admin,comp.sys.dec Kevin W. Thomas wrote: > 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. Sure it does. Nothing, especially a SUN, is perfect. > 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! echo '0 2 * * 6 find /tmp -atime +7 -exec rm {} \; > /var/adm/remlist.txt' >> /var/spool/cron/crontabs/root echo "0 2 * * 6 reboot" >> /var/spool/cron/crontabs/root Notice the difference in the number of keystrokes required? > If you have defunct processes, fix your software. Also make sure your OS > patches are up to date. Management: "Joe Blow wrote this software just before he left the company five years ago. We rely on it for everything. No one has any idea how to fix it. We just know we have to run it no matter what it does to the systems. You're just going to have to figure a way to make it work." echo 0 2 * * 6 reboot >> /var/spool/cron/crontabs/root > Unless you've moved filesystems on your server, "Stale NFS file handles" > are a consequence of user action. Or of a sysadmin on the server you're mounting from. # umount /why/are/these/mountpoint/paths/so/long/stale_filesystem # mount remotehost:/they/are/just/as/long/over/here/stale_filesystem \ /why/are/these/mountpoint/paths/so/long/stale_filesystem or # reboot Again, notice the difference in the number of keystrokes required. > 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.) As I pointed out. > >> 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? They don't do that on the workstations. On the rare occassion that a user does something like that, they do it on the servers. Most of our workstations get used like glorified PCs. Users run Netscape, FRAMEMAKER, e-mail and some applications specific to our Agency. When five o'clock hits, they log out and go home. Then their workstations are mine for the taking. 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