LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 09-16-2014, 09:30 AM   #1
tux100
LQ Newbie
 
Registered: Aug 2014
Posts: 22

Rep: Reputation: Disabled
Server uptimes


Some production servers I see have uptimes of more than 500 days.

Is it a bad policy to not reboot linux servers for this long ?

Are OS structures getting fragmentated ?
 
Old 09-16-2014, 09:36 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
Generally speaking, no there's no risk on a stable system.
 
Old 09-16-2014, 09:38 AM   #3
TenTenths
Senior Member
 
Registered: Aug 2011
Location: Dublin
Distribution: Centos 5 / 6 / 7
Posts: 3,475

Rep: Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553
If the server is stable and "the business" understands the risks of running software that may not have all the relevant security patches then there shouldn't be an issue with long uptimes.

As for 500 days..... I've seen longer
 
Old 09-16-2014, 09:40 AM   #4
tux100
LQ Newbie
 
Registered: Aug 2014
Posts: 22

Original Poster
Rep: Reputation: Disabled
Uptime and fsck checks

I think production servers should be rebooted at least every month.

To keep the OS and filesystems in a cleaner state.

Or is it not required ?

I think the filesystem people should change their fsck checks from every 30 reboots to a user defined value (fsck default every 180 days)
 
Old 09-16-2014, 09:46 AM   #5
TenTenths
Senior Member
 
Registered: Aug 2011
Location: Dublin
Distribution: Centos 5 / 6 / 7
Posts: 3,475

Rep: Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553
Quote:
Originally Posted by tux100 View Post
I think production servers should be rebooted at least every month.
If that's what you want to do and you've the resilient infrastructure to allow you to reboot parts of it without service loss or can schedule suitable outages then go for it!!

Edit: Out of curiosity, how many servers are you managing?
 
Old 09-16-2014, 09:50 AM   #6
szboardstretcher
Senior Member
 
Registered: Aug 2006
Location: Detroit, MI
Distribution: GNU/Linux systemd
Posts: 4,278

Rep: Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694
Rebooting servers is based on opinion, infrastructure and time. You can find *plenty* of arguments to support what you want to do, one way or the other.

Now for something completely different: http://kernelcare.com/

There are surely open source alternatives to that,.. and it basically allows you to patch a kernel in-place without reboot, like the old Solaris boxes.

Very kewl.

-----

Addendum:

There is RISK in rebooting any system. That's why there is such an argument about whether to do it or not. The one thing most admins agree on is that there is RISK to the hardware when rebooting -- disks fail, memory goes bye-bye, fans don't spin up. Even on a 'stable' system that has not one little problem that is visible, it's a possibility that it won't boot back up for some reason. Especially after 500 days in service!

So keep that in mind when researching your rebooting cycle.

Personally mine is 'security' based. If an urgent patch comes out for the kernel, she gets a reboot. But I have spare parts, spare servers and everything I manage is in a HA configuration, so if half the hardware doesn't come back up, I'm not screwed.

Last edited by szboardstretcher; 09-16-2014 at 09:59 AM.
 
1 members found this post helpful.
  


Reply



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
How to monitor web server, FTP server, Mail server and database server vodka33us Programming 1 06-16-2008 04:20 AM
Check uptimes dlublink Linux - Networking 1 02-27-2005 08:56 AM
can we configure a Linux server with mail server,file server and web server kumarx Linux - Newbie 5 09-09-2004 06:21 AM
ok... lets see some uptimes trey85stang General 27 04-15-2004 05:22 AM
SNMP Uptimes AcerKev Linux - Networking 2 03-06-2004 07:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

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