Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
11-11-2013, 05:58 PM
|
#1
|
Member
Registered: Jan 2009
Location: Sydney, Australia
Distribution: Fedora,CentOS
Posts: 758
Rep: 
|
why reboot
I was quite impressed to see a database server at work has been up for 585 days (RHEL 5.5). This server is one of 5 virtual machines hosted by an IBM server using VMware.
Most of the time I read that people just leave their linux servers running and seldom reboot. Is there a practical reason why regular reboots are useful?
|
|
|
11-11-2013, 06:08 PM
|
#2
|
Moderator
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
|
A reboot is mostly necessary for upgrades of the kernel, but even then there are other options, like Ksplice. If those options are not used you can be pretty sure that the machine you mentioned has all the vulnerabilities that were found in the last 585 days still wide open (and since it is running Redhat 5.5 it also misses all security updates, up to 5.9, which is the current version). You better make sure that this machine does not take connections from the web.
|
|
2 members found this post helpful.
|
11-11-2013, 06:11 PM
|
#3
|
LQ Guru
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,573
|
Kernel updates are the main reason. Updates in most other software can be handled on the fly by restarting the service.
|
|
|
11-11-2013, 07:40 PM
|
#4
|
Moderator
Registered: Mar 2008
Posts: 22,350
|
Reboots hide bad apps.
|
|
|
11-12-2013, 02:44 AM
|
#5
|
Senior Member
Registered: Sep 2009
Location: Washington U.S.
Distribution: M$ Windows / Debian / Ubuntu / DSL / many others
Posts: 2,339
|
Well most reboots are out of necessity.
Either for software that cannot upgrading while running, hardware replacement/upgrade or hung or crashed machine.
|
|
|
11-12-2013, 05:13 AM
|
#6
|
LQ Veteran
Registered: May 2008
Posts: 7,134
|
A very long uptime is the sign of a poorly maintained system. It's like bragging that you haven't changed the oil in your car for 10 years! 
|
|
3 members found this post helpful.
|
11-12-2013, 04:20 PM
|
#7
|
Member
Registered: Jan 2009
Location: Sydney, Australia
Distribution: Fedora,CentOS
Posts: 758
Original Poster
Rep: 
|
Thanks for all the feedback:
- 5.5 -I really don't know about this. I am guessing that, as there are 48 RHEL licences, the servers were commissioned with a particular version of the OS and any upgrade would have to be strategically managed
- reboots - the server in question had a problem which was traced to a memory leak caused by a 3rd party program. So I guess take away the specific linux angle and there are a number of variables which can degrade the system. Reboots help to limit these while the 3rd party program is fixed.
Cheers
|
|
|
11-12-2013, 04:34 PM
|
#8
|
Moderator
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
|
Quote:
Originally Posted by timl
[LIST][*]5.5 -I really don't know about this. I am guessing that, as there are 48 RHEL licences, the servers were commissioned with a particular version of the OS and any upgrade would have to be strategically managed
|
If you buy a RHEL licence (or better: subscription) you don't buy the right to run the software (like you would do with Windows, for example), but you buy support and a connection to the Red Hat Network for updates and installing software. Not updating a licensed Red Hat installation is somewhat pointless, since the updates are what you are paying for.
|
|
|
11-14-2013, 05:09 PM
|
#9
|
Moderator
Registered: Mar 2008
Posts: 22,350
|
Reboots hide bad apps.
|
|
|
11-14-2013, 09:54 PM
|
#10
|
LQ Muse
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,680
|
Quote:
A very long uptime is the sign of a poorly maintained system. It's like bragging that you haven't changed the oil in your car for 10 years!
|
unless you do not count the SCHEDULED downtime
having UNSCHEDULED downtime is not good
|
|
|
All times are GMT -5. The time now is 08:41 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|