LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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


Reply
  Search this Thread
Old 11-11-2013, 05:58 PM   #1
timl
Member
 
Registered: Jan 2009
Location: Sydney, Australia
Distribution: Fedora,CentOS
Posts: 758

Rep: Reputation: 156Reputation: 156
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?
 
Old 11-11-2013, 06:08 PM   #2
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
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.
Old 11-11-2013, 06:11 PM   #3
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,573

Rep: Reputation: 2143Reputation: 2143Reputation: 2143Reputation: 2143Reputation: 2143Reputation: 2143Reputation: 2143Reputation: 2143Reputation: 2143Reputation: 2143Reputation: 2143
Kernel updates are the main reason. Updates in most other software can be handled on the fly by restarting the service.
 
Old 11-11-2013, 07:40 PM   #4
jefro
Moderator
 
Registered: Mar 2008
Posts: 22,350

Rep: Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690
Reboots hide bad apps.
 
Old 11-12-2013, 02:44 AM   #5
smeezekitty
Senior Member
 
Registered: Sep 2009
Location: Washington U.S.
Distribution: M$ Windows / Debian / Ubuntu / DSL / many others
Posts: 2,339

Rep: Reputation: 231Reputation: 231Reputation: 231
Well most reboots are out of necessity.
Either for software that cannot upgrading while running, hardware replacement/upgrade or hung or crashed machine.
 
Old 11-12-2013, 05:13 AM   #6
GazL
LQ Veteran
 
Registered: May 2008
Posts: 7,134

Rep: Reputation: 5286Reputation: 5286Reputation: 5286Reputation: 5286Reputation: 5286Reputation: 5286Reputation: 5286Reputation: 5286Reputation: 5286Reputation: 5286Reputation: 5286
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.
Old 11-12-2013, 04:20 PM   #7
timl
Member
 
Registered: Jan 2009
Location: Sydney, Australia
Distribution: Fedora,CentOS
Posts: 758

Original Poster
Rep: Reputation: 156Reputation: 156
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
 
Old 11-12-2013, 04:34 PM   #8
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
Quote:
Originally Posted by timl View Post
[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.
 
Old 11-14-2013, 05:09 PM   #9
jefro
Moderator
 
Registered: Mar 2008
Posts: 22,350

Rep: Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690
Reboots hide bad apps.
 
Old 11-14-2013, 09:54 PM   #10
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,680

Rep: Reputation: 2657Reputation: 2657Reputation: 2657Reputation: 2657Reputation: 2657Reputation: 2657Reputation: 2657Reputation: 2657Reputation: 2657Reputation: 2657Reputation: 2657
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Slackware-current need a double reboot command to really reboot the system sardinha Slackware 11 09-12-2012 03:19 PM
[linux auto reboot] content"reboot system boot" hunter_cao7 Linux - Server 1 11-12-2007 06:09 PM
FC4 hangs after reboot. Is it possible to manually reboot to find problem hathmann Fedora 5 08-13-2006 03:57 AM
No keyboard/mouse after reboot. Requires second reboot to work. rottie Linux - Hardware 6 01-16-2006 05:04 AM
Mandriva 10.1 fails to reboot and shows "No reboot fixup found for your hardware" ROY913 Mandriva 1 12-12-2005 02:10 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 08:41 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration