LinuxQuestions.org
Support LQ: Use code LQCO20 and save 20% on CrossOver Office
Go Back   LinuxQuestions.org > Forums > Linux > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Tags used in this thread
Popular LQ Tags , , ,

Reply
 
Thread Tools
Old 10-21-2009, 06:43 AM   #1
tobiascapin
LQ Newbie
 
Registered: Oct 2009
Posts: 6
Thanked: 0
Scheduled reboot?


[Log in to get rid of this advertisement]
Hello, i have a little Dell server with Debian 5 with samba and a webserver. I would like to know if you suggest to schedule a server reboot or do you think this is not usefult for server stability?
I thought to reboot the server at 2 AM, or better to shutdown it at 0AM and poweron (if I can setup it by its bios) at 7AM.

What do you think?
Thanks.
windows_xp_2003 tobiascapin is offline  
Tag This Post , , ,
Reply With Quote
Old 10-21-2009, 07:07 AM   #2
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Nagpur, India
Distribution: Ubuntu Karmic, CentOS 5.4
Posts: 2,500
Thanked: 158
Personally I would not do this. If you have got some special requirements where in reboot or shutdown is necessary, you could do that but if there is no such requirement, why do it?
Both Dell servers and Debian are robust products and would definitely run without issues on months together.
There have been instances where Linux servers were not rebooted for several months or year or so.
linuxubuntu linuxlover.chaitanya is offline     Reply With Quote
Old 10-21-2009, 07:09 AM   #3
EricTRA
Member
 
Registered: May 2009
Location: Barcelona, Spain
Distribution: Slackware 13, Ubuntu 9.04,Debian 32 + 64, AIX 5.3, RHEL5, LFS, BackTrack4
Posts: 950
Thanked: 100
Hello,

I have several Debian servers (10) running at our office and none of them has a scheduled reboot configured. We also have Windoze servers (45) and they need a regular reboot. In my opinion a scheduled reboot is not necessary on a Linux server if it's administered correctly.

Kind regards,

Eric
windows_xp_2003 EricTRA is offline     Reply With Quote
Old 10-21-2009, 07:13 AM   #4
Tux-Slack
Member
 
Registered: Nov 2006
Location: Slovenia
Distribution: Slackware 12
Posts: 490
Thanked: 10
Only time you really need to reboot is when you upgrade your kernel. So why do it daily?
Even so, what's the point of a server if it gets shut down at midnight and booted up again at 7am?
windows_xp_2003 Tux-Slack is offline     Reply With Quote
Old 10-21-2009, 07:18 AM   #5
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 33,327
Thanked: 182
how does a scheduled reboot improve stability? It admits / assumes that you have VERY BAD stability already... this isn't windows... why would you want to restart a server that is working fine?
linuxfedora acid_kewpie is offline     Reply With Quote
Old 10-21-2009, 07:24 AM   #6
catkin
Senior Member
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Slackware 13.0
Posts: 1,852
Blog Entries: 6
Thanked: 226
The only reason for doing so would be electrical energy conservation -- think of the penguins -- but even then the thermal cycling may make components fail early and there's a lot of energy invested in creating them. If you're running AC to extract the heat created by used electrical energy then the savings are more significant.
linux catkin is offline     Reply With Quote
Old 10-21-2009, 08:06 AM   #7
tobiascapin
LQ Newbie
 
Registered: Oct 2009
Posts: 6
Thanked: 0

Original Poster
Thanks you all,
i thounght to reboot becausa i came from a windows sistem ... so you can understand my question!
Furthermore, I think that 7 hours per day of poweroff can be good for the components stress and maybe can reduce the hardware failure (-30% of use)... but maybe is a bad idea just because i'm very new of server administration.

Thanks again, i think i will not schedule reboot ...

Bye
windows_xp_2003 tobiascapin is offline     Reply With Quote
Old 10-21-2009, 11:04 AM   #8
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 33,327
Thanked: 182
-30% use, but on average 1000x more spinups and spindowns, etc... change of physical state = wear & tear.
linuxfedora acid_kewpie is offline     Reply With Quote
Old 10-22-2009, 03:10 AM   #9
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Nagpur, India
Distribution: Ubuntu Karmic, CentOS 5.4
Posts: 2,500
Thanked: 158
I would disagree OP that shutdown and reboot would increase the life expectancy of components. It should rather be opposite of what you think.
The more you reboot the machine, more the temperature variations components have to handle. The more the temperature variations, more the wear and tear. That would in turn reduce the life of your hardware.
linuxubuntu linuxlover.chaitanya is offline     Reply With Quote
Old 10-22-2009, 03:26 AM   #10
tobiascapin
LQ Newbie
 
Registered: Oct 2009
Posts: 6
Thanked: 0

Original Poster
I did not know that... thanks again.
Do you think that in a good server must be installed something as monit?
This is not a big server and this has nothing so important (file sharing and a management web application).. but i don't know if a process crash can be happend often.

Bye
windows_xp_2003 tobiascapin is offline     Reply With Quote
Old 10-22-2009, 03:30 AM   #11
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Nagpur, India
Distribution: Ubuntu Karmic, CentOS 5.4
Posts: 2,500
Thanked: 158
It would depend on the usage. If you have got a good hardware resources and you think your memory would seldom be a problem and no process will die for lack of memory then you can do without it. But it is a personal choice. Monit is just an application. If you think you do not need complex monitoring, you can use some simple to use monitoring like top, ntop and all.
But it is definitely suggested that you do monitoring in some form.
linuxubuntu linuxlover.chaitanya is offline     Reply With Quote
Old 10-22-2009, 05:41 AM   #12
avijitp
Member
 
Registered: May 2005
Location: India
Distribution: FC11, Debian/Ubuntu, RHEL, Solaris, AIX, HP-UX
Posts: 153
Thanked: 3
This tends to happen to any SA who has earlier worked on Windows. I have seen server having uptime for more that 3000 days (They were not patched due to some business need) and serving happily ever after.
windows_xp_2003 avijitp is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
scheduled fsck turns into reboot cycle TotalLinuxNoob Ubuntu 1 04-13-2009 03:20 AM
Scheduled tasks gubak Linux - Newbie 3 04-24-2007 03:34 AM
Poll Already Scheduled ????? arunabh_biswas Linux - Networking 4 01-27-2007 06:30 PM
When is 10.2 scheduled to come out? dougnc Suse/Novell 1 10-16-2006 08:13 AM
scheduled task trebek Linux - Software 4 09-24-2006 04:37 AM


All times are GMT -5. The time now is 09:31 PM.

Main Menu
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
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration