From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit 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: 111731,d4c1f7c0fe672a4 X-Google-Attributes: gid111731,public X-Google-Thread: fcda7,d4c1f7c0fe672a4 X-Google-Attributes: gidfcda7,public X-Google-Thread: 1070f0,d4c1f7c0fe672a4 X-Google-Attributes: gid1070f0,public From: kwthomas@wizard.nssl.noaa.gov (Kevin W. Thomas) Subject: Re: Different UNIX pro's and con's. Date: 1998/09/18 Message-ID: <6tu7b7$gk7$1@enterprise.nssl.noaa.gov> X-Deja-AN: 392484465 References: <35F71814.1E0B911C@iakom.com> <35FF02B1.D5890477@home.com> <6tovb9$rs4$1@enterprise.nssl.noaa.gov> <3601DE1E.B03FA547@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 <3601DE1E.B03FA547@home.com>, Rev. Don Kool wrote: >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. Maybe performance goes down on YOUR workstations. It doesn't go down on the 60+ that I take care of. Do you keep up to date on patches, or do you use the OS as is and complain when things aren't 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? I can do you one better. No problems. No reboots. No keystrokes. >> 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 You trust software that malfunctions? I wouldn't. I'd fix the problem. >> 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 Sys admins shouldn't do foolish things on servers. > 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. If that is the case, then you are lucky. Only admins are allowed to log into our file server. > 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 Kevin W. Thomas Sun System Administrator & Meteorologist National Severe Storms Laboratory Norman, Oklahoma Email: kwthomas@wizard.nssl.noaa.gov