LinuxQuestions.org
Visit the LQ Articles and Editorials section
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 03-31-2006, 01:55 PM   #1
DotHQ
Member
 
Registered: Mar 2006
Location: Ohio, USA
Distribution: Red Hat, Fedora, Knoppix,
Posts: 542

Rep: Reputation: 33
Sanity Check


I like keeping my home workstations up as long as possible without a reboot. But, for a Linux box running production I feel it is better to give it what I call a sanity check by rebooting it on a regular schedule. Reboot every 30, 60 or 90 days.
The shop I'm woking in now has never done this. So that brought up the question, do you reboot your production servers on a scheduled interval? If so what's the interval? ...or do you think it is a dumb holdover type of idea from the days of older more troublesome hardware etc.
Thanks!
 
Old 03-31-2006, 02:07 PM   #2
geeman2.0
Member
 
Registered: Feb 2005
Location: Ontario, Canada
Distribution: Gentoo, Slackware
Posts: 345

Rep: Reputation: 30
One of the selling points for linux in a production is that it can go for extremely long periods of times without rebooting, even years in some cases.

IMO the only reason to turn off a production server is to boot up into a new kernel or physically move the box to a new location.
 
Old 03-31-2006, 02:07 PM   #3
macemoneta
Senior Member
 
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

Rep: Reputation: 328Reputation: 328Reputation: 328Reputation: 328
There is only one reason to reboot a Linux machine - you are loading a new kernel.

Many people keep their Linux systems up for years.
 
Old 03-31-2006, 02:32 PM   #4
Dragineez
Member
 
Registered: Oct 2005
Location: Annapolis
Distribution: Ubuntu
Posts: 275

Rep: Reputation: 32
A Windows Thang

Quote:
Originally Posted by DotHQ
...or do you think it is a dumb holdover type of idea from the days of older more troublesome hardware etc.
That's a Windows mindset - "When in doubt, reboot!"
 
Old 03-31-2006, 09:21 PM   #5
DotHQ
Member
 
Registered: Mar 2006
Location: Ohio, USA
Distribution: Red Hat, Fedora, Knoppix,
Posts: 542

Original Poster
Rep: Reputation: 33
I agree it helps more often than not for Windoze, but this is a holdover from late eighties early ninties running AT&T 3b2's with System V os. Also a UNIX dirivitive named Gould made hardward and a custimized os which was a mix of System V and BSD that performed much better if we rebooted once a month.

Curently I'm running RHEL AS-3. We have big oracle databases housed on a SAN. We fracture (break the mirror) the DB every night for backup. Timing must be just right or all LUNS on the SAN do not remount. The only way we've fouond to get passed this is to reboot. After a reboot the nightly process works 80% better for a few weeks, then the problem comes up again. Thus the reason for my question. Thanks for the replies.
 
Old 03-31-2006, 10:04 PM   #6
macemoneta
Senior Member
 
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

Rep: Reputation: 328Reputation: 328Reputation: 328Reputation: 328
Most databases have the ability to unload the data to a flat file specifically for backup with integrity. I'm not familiar with Oracle, but I'd be amazed if it doesn't have this functionality. It also avoids the redundancy exposure and subsequent degradation from a split/rejoin for a mirror.

Another alternative is LVM2's snapshot capability which, again, is specifically designed for backups.
 
Old 03-31-2006, 10:24 PM   #7
Dragineez
Member
 
Registered: Oct 2005
Location: Annapolis
Distribution: Ubuntu
Posts: 275

Rep: Reputation: 32
Narf!

Quote:
Originally Posted by DotHQ
We have big oracle databases housed on a SAN. We fracture (break the mirror) the DB every night for backup. Timing must be just right or all LUNS on the SAN do not remount. The only way we've fouond to get passed this is to reboot.
OMG! What a nightmare! There has got to be a better way.
 
  


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
./configure sanity check xushi Slackware 9 06-18-2005 05:47 PM
cpp sanity check alexrait1 Slackware 6 04-24-2005 09:43 AM
sanity check failed for g++ pablovschby Programming 2 11-08-2004 03:39 AM
Quick Sanity Check sub-genius Slackware 5 07-15-2003 12:28 PM
IPTables Sanity Check Crashed_Again Linux - Networking 3 03-06-2003 09:49 PM


All times are GMT -5. The time now is 12:59 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration