LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial 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 11-30-2005, 02:21 PM   #1
dippelw
LQ Newbie
 
Registered: May 2003
Posts: 2

Rep: Reputation: 0
Rebooting Linux servers bad idea?


Hello all. I have numerous RHEL servers in my datacenter and I have NEVER had to schedule reboots on a daily basis until now. I have a new app and there have been little problems everywhere with it. After screaming to the vendor they told me to reboot the servers every day to keep the environment fresh. This seemed to solve the problem short term but now there are all sorts of strange things happening that I have yet to find a root cause for. My question is this, is it bad practice to reboot a Linux server regularly? Could I be doing more bad than good? Thanks!
 
Old 11-30-2005, 02:31 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,005
Blog Entries: 11

Rep: Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903
Well, it shouldn't really do the server any harm ... but then,
if the application screws up the solution isn't really to boot
the box but to fix the bloody app. ;}

Which kinds of problems are you running into since the
reboots, and what problem was the APP causing if the
boxen weren't rebooted?



Cheers,
Tink
 
Old 11-30-2005, 02:34 PM   #3
MensaWater
Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 6,028
Blog Entries: 5

Rep: Reputation: 791Reputation: 791Reputation: 791Reputation: 791Reputation: 791Reputation: 791Reputation: 791
Rebooting on a properly configured system doesn't hurt anything. It does in fact clean up system tables that accumulate garbage (especially if you have processes that die or are killed with kill -9 as such processes don't clean up after themselves.

Having said that though I'd have to say if I had a vendor tell me I needed to reboot every day I'd think using their product was an extremely bad idea. Unix/Linux can stay up for months (or even years) on end when properly configured so the fact that you're having to reboot every day suggests something extremely messy is going on. It seems more likely whatever issues you're seeing after reboots are related to whatever is causing them to suggest the reboots in the first place.

I'd strongly suggest you escalate as high in the company of the vendor as you can to get a better answer. Failing that I'd toss their application like the garbage it appears to be.
 
Old 11-30-2005, 03:33 PM   #4
sundialsvcs
Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 5,455

Rep: Reputation: 1172Reputation: 1172Reputation: 1172Reputation: 1172Reputation: 1172Reputation: 1172Reputation: 1172Reputation: 1172Reputation: 1172
I would categorically reject such advice from an application vendor. That's the talk of a Windows-trained newbie tech who is "punting."

What is this application? What sort of "little problems" are you having with it?

Unless this application is doing funky-stuff like kernel modules (which it should never have or need!), anything that it may do should be confined to the session of the user who is running it, and/or the session of any logged-on "daemons."

"Rebooting" is what Windows installations have to do ... not Linux. And the usual reason why Windows systems have to do it so much is that they bollux-up the user interface. On a Linux server-farm none of this should apply.
 
Old 11-30-2005, 04:50 PM   #5
Dragineez
Member
 
Registered: Oct 2005
Location: Annapolis
Distribution: Ubuntu
Posts: 275

Rep: Reputation: 32
My Laugh Of The Day

Quote:
Originally posted by sundialsvcs
I would categorically reject such advice from an application vendor. That's the talk of a Windows-trained newbie tech who is "punting."
Gotta love it - "when in doubt - reboot!"

But seriously, believe it or not even in the Windows world requiring a daily server reboot is totally unacceptable. You might want to search the programming section to find debugging tools. You know, something that will look for memory leaks, failing to release resources, poor threading model - that sort of thing.

So how does it feel to be an Alpha test site?
 
  


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
Linux - Programming Forum , Linux - Tweaks Forum .. is it a bad idea ??? UsualTuxpect LQ Suggestions & Feedback 7 01-16-2006 04:33 AM
Bad Idea dudeman41465 Linux - Software 1 10-10-2005 03:37 AM
Auto-update: Good idea for servers? esasse Linux - Newbie 4 12-02-2004 02:23 PM
Is this a good or bad idea? kemplej Linux - Software 2 10-26-2004 10:34 AM
Sun JDS with SuSe linux ..was this a bad idea? GoinEasy9 Linux - General 3 02-23-2004 10:19 PM


All times are GMT -5. The time now is 10:08 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