How often should I reboot Solaris and LynxOS

This is a discussion on How often should I reboot Solaris and LynxOS within the Linux Administration forums, part of the Linux Forums category; Hi, Would someone please give me some pointers on a trend analysis on resource leaks for Solaris 9 and LynxOS (...


Go Back   Usenet Forums > Linux Forums > Linux Administration

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 07-24-2003
EKL
 
Posts: n/a
Default How often should I reboot Solaris and LynxOS

Hi,

Would someone please give me some pointers on a trend analysis on resource
leaks for Solaris 9 and LynxOS (or in general on UNIX machines). Basically,
I need statistics to determine how often I need to restart these machines to
avoid unplanned failures. Thanks.

ekl



Reply With Quote
  #2 (permalink)  
Old 07-24-2003
I R A Darth Aggie
 
Posts: n/a
Default Re: How often should I reboot Solaris and LynxOS

On Thu, 24 Jul 2003 11:18:08 -0400,
EKL <En-Kuang_Lung@raytheon.com>, in
<QMSTa.3816$c6.3317@bos-service2.ext.raytheon.com> wrote:

+> Would someone please give me some pointers on a trend analysis on resource
+> leaks for Solaris 9 and LynxOS (or in general on UNIX machines). Basically,
+> I need statistics to determine how often I need to restart these machines to
+> avoid unplanned failures. Thanks.

Ummm...you don't? I can't speak to LynxOS, but I've had Solaris boxen
with uptimes on the order of 4-6 months. If they weren't connected to
the commidity internet, and the power stayed on, and I wasn't so
zealous in applying the recommended and security patches, I could
probably get uptimes in the *years*.

What you have to worry about are buggy applications doing bad things
to your system resources.

James
--
Consulting Minister for Consultants, DNRC
I can please only one person per day. Today is not your day. Tomorrow
isn't looking good, either.
I am BOFH. Resistance is futile. Your network will be assimilated.
Reply With Quote
  #3 (permalink)  
Old 07-24-2003
EKL
 
Posts: n/a
Default Re: How often should I reboot Solaris and LynxOS

>
> +> Would someone please give me some pointers on a trend analysis on

resource
> +> leaks for Solaris 9 and LynxOS (or in general on UNIX machines).

Basically,
> +> I need statistics to determine how often I need to restart these

machines to
> +> avoid unplanned failures. Thanks.
>
> Ummm...you don't? I can't speak to LynxOS, but I've had Solaris boxen
> with uptimes on the order of 4-6 months. If they weren't connected to
> the commidity internet, and the power stayed on, and I wasn't so
> zealous in applying the recommended and security patches, I could
> probably get uptimes in the *years*.
>
> What you have to worry about are buggy applications doing bad things
> to your system resources.
>


Thanks James. Even though you may not need to reboot for a long time, but do
you notice any performance degradation over time or unexplained resource
losses of usages? Thanks.


Reply With Quote
  #4 (permalink)  
Old 07-24-2003
Rich Teer
 
Posts: n/a
Default Re: How often should I reboot Solaris and LynxOS

On Thu, 24 Jul 2003, EKL wrote:

> Would someone please give me some pointers on a trend analysis on resource
> leaks for Solaris 9 and LynxOS (or in general on UNIX machines). Basically,
> I need statistics to determine how often I need to restart these machines to
> avoid unplanned failures. Thanks.


I don't know about LynxOS, but you reboot a Solaris machine
when you add hardware that isn't hot swappable, or when you
apply one or more patches that need the machine to be rebooted
to take effect (e.g., the kernel jumbo patch). Depending on
your paranoia level, you should probably look at adding the
latest recommended patch cluster quarterly perhaps, more or
less.

Rebooting Solaris machines "just because" is neither necessary
nor desirable. It's a habit from people who look after Windoze
machines.

--
Rich Teer, SCNA, SCSA

President,
Rite Online Inc.

Voice: +1 (250) 979-1638
URL: http://www.rite-online.net

Reply With Quote
  #5 (permalink)  
Old 07-24-2003
Lon Stowell
 
Posts: n/a
Default Re: How often should I reboot Solaris and LynxOS

EKL wrote:

> Hi,
>
> Would someone please give me some pointers on a trend analysis on resource
> leaks for Solaris 9 and LynxOS (or in general on UNIX machines). Basically,
> I need statistics to determine how often I need to restart these machines to
> avoid unplanned failures. Thanks.
>
> ekl
>
>
>

Dunno Solaris 9 specifically, but if there are no application leaks,
uptime is more determined by the need to perform hardware and/or
software maintenance/upgrades rather than any inherent need.
Have seen servers with uptimes in excess of a year and doubt if
that is a record....hopefully not starting a "longest uptime"
subthread.

Reply With Quote
  #6 (permalink)  
Old 07-24-2003
J. David Boyd
 
Posts: n/a
Default Re: How often should I reboot Solaris and LynxOS

"Michael Vilain <vilain@spamcop.net>" wrote in news:news-
0A1283.10123524072003@news.tdl.com:

> If you just run without users


Yup, it's them darned users that are the problem!
Reply With Quote
  #7 (permalink)  
Old 07-24-2003
Greg
 
Posts: n/a
Default Re: How often should I reboot Solaris and LynxOS

In article <QMSTa.3816$c6.3317@bos-service2.ext.raytheon.com>, En-
Kuang_Lung@raytheon.com says...
> Hi,
>
> Would someone please give me some pointers on a trend analysis on resource
> leaks for Solaris 9 and LynxOS (or in general on UNIX machines). Basically,
> I need statistics to determine how often I need to restart these machines to
> avoid unplanned failures. Thanks.


For Solaris: Never. (Unless there's some application software that's
always running and leaking memory.)

At my last job, we had an old Sparc 20 that had been running
continuously for four years before we shut it down and replaced it with
an Ultra 10. I mean literally continuously -- the "uptime" command said
something like 1481 days. The Cisco router on the same subnet had been
running continuously for even longer.

'Course, that Sparc 20 wasn't running Solaris 9, obviously. It was
Solaris 2.5.1. I presume that Solaris 9 is just as stable as 2.5.1
is/was.
Reply With Quote
  #8 (permalink)  
Old 07-24-2003
Greg
 
Posts: n/a
Default Re: How often should I reboot Solaris and LynxOS

In article <news-0A1283.10123524072003@news.tdl.com>, "Michael Vilain
<vilain@spamcop.net>" says...
>
> The "general rule" of UNIX is "don't reboot unless you have to (or
> you're lazy and don't want to figure out what to fix your problem".


Hey, you'd be surprised how often a reboot will fix a particularly pesky
problem. Just ask your friendly neighborhood MCSE.

> Sysadmins are forever quoting the longest "uptime" on their systems as a
> matter of pride.


Heh.. 1,481 days. Read it and weep.

> In common practice, scheduling downtime at least once a month gets the
> users used to the idea of a "downtime" and gives you headroom to plan
> projects that require an outage--hardware and software upgrades,
> testing, or whatever.


And it gives you a chance to install the latest set of recommended and
security patches, after which a reboot is usually a good idea.
Reply With Quote
  #9 (permalink)  
Old 07-25-2003
George Dau
 
Posts: n/a
Default Re: How often should I reboot Solaris and LynxOS

"EKL" <En-Kuang_Lung@raytheon.com> wrote:

]Would someone please give me some pointers on a trend analysis on resource
]leaks for Solaris 9 and LynxOS (or in general on UNIX machines). Basically,
]I need statistics to determine how often I need to restart these machines to
]avoid unplanned failures. Thanks.

For the statistics, I run a program that checks various things, such as swap
usage, swap activity, cpu usage, disk usage, i-node usage, network errors etc
and log that using rrdtool. I then display daily stats, and yearly stats so I
can get trends and predict when a filesystem will fill up etc. This works very
well.

For re-boots - many will say that you don't need to. From experience, you dont
need regular reboots, but if you install an application or patch, you should
consider scheduling an attended re-boot shortly afterwards when it suits
everyone. You want to make sure it still boots cleanly in case of an
unscheduled unattended reboot later on. You want to make sure that everything
starts up as it should from a re-boot.
Reply With Quote
  #10 (permalink)  
Old 07-25-2003
Lon Stowell
 
Posts: n/a
Default Re: How often should I reboot Solaris and LynxOS

Frank-Christian Kruegel wrote:

> On Thu, 24 Jul 2003 11:18:08 -0400, "EKL" <En-Kuang_Lung@raytheon.com> wrote:
>
>>Would someone please give me some pointers on a trend analysis on resource
>>leaks for Solaris 9 and LynxOS (or in general on UNIX machines). Basically,
>>I need statistics to determine how often I need to restart these machines to
>>avoid unplanned failures. Thanks.

>
> My uptime record was 611 days on a Netra T1. On the 612th day I had to swap both
> hard disks. No problems during that time.


See, that's what happens when you allow the hard disks to hit
the 611.5 day timer, at which point they become so fragmented
not even Humpty Dumpty can put them back together.

The only issue I can recall is that after "N" days of operation
the file modification dates would go bogus. Unfortunately
can't remember what "N" was ?240 days? or if this was a
SunOS 4.x feature or only on a machine based on SunOS 4.x


Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 02:18 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0