Hi, I was just wondering if I should reboot some servers that are running over 180 days? They are still stable and have no problems, also top shows no zombie processes or such, but maybe it's better for the hardware (like ext3 disk checks f.e.) to reboot every six months... btw this uptime really confirms me how stable Centos 4.x really is and so I wonder how long some people's uptimes on the list are ;) rmc -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20070213/91da37ae/attachment.html>
On Tue, 2007-02-13 at 12:06 +0100, D Ivago wrote:> Hi, > > I was just wondering if I should reboot some servers that are running > over 180 days? > > They are still stable and have no problems, also top shows no zombie > processes or such, but maybe it's better for the hardware (like ext3 > disk checks f.e.) to reboot every six months...I only reboot on kernel upgrades, that is usually more often than 6 months. But if you don't need to reboot for that reason, I would not reboot at all.> > btw this uptime really confirms me how stable Centos 4.x really is > and so I wonder how long some people's uptimes on the list are ;) > > rmcYou should consider upgrading your kernels when security updates come out ... just to be safe. Especially for machines touching the internet. I usually upgrade my kernels because I like to use LVM snapshots for backups and that has only really started working semi-well since 4.3 and even better in 4.4 ... so most of my machines get rebooted every new kernel, which is at least 2-3 times a year (sometimes more often). That being said, I do have a non internet facing machine that has not been rebooted since it was installed with CentOS-4.0 on it one March 1, 2005. It is an internal router on my employer's infrastructure, and has been up for almost 2 years (and was installed on the day before CentOS-4 was officially released). Thanks, Johnny Hughes -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: <http://lists.centos.org/pipermail/centos/attachments/20070213/f97a2d01/attachment.sig>
Johnny Hughes a ?crit :> On Tue, 2007-02-13 at 12:06 +0100, D Ivago wrote: > >> Hi, >> >> I was just wondering if I should reboot some servers that are running >> over 180 days? >> >> They are still stable and have no problems, also top shows no zombie >> processes or such, but maybe it's better for the hardware (like ext3 >> disk checks f.e.) to reboot every six months... >> > > I only reboot on kernel upgrades, that is usually more often than 6 > months. But if you don't need to reboot for that reason, I would not > reboot at all. >kernel and glibc.> >> btw this uptime really confirms me how stable Centos 4.x really is >> and so I wonder how long some people's uptimes on the list are ;) >> >> rmc >> > > You should consider upgrading your kernels when security updates come > out ... just to be safe. Especially for machines touching the internet. > > I usually upgrade my kernels because I like to use LVM snapshots for > backups and that has only really started working semi-well since 4.3 and > even better in 4.4 ... so most of my machines get rebooted every new > kernel, which is at least 2-3 times a year (sometimes more often). > > That being said, I do have a non internet facing machine that has not > been rebooted since it was installed with CentOS-4.0 on it one March 1, > 2005. It is an internal router on my employer's infrastructure, and has > been up for almost 2 years (and was installed on the day before CentOS-4 > was officially released). > > Thanks, > Johnny Hughes > > ------------------------------------------------------------------------ > > _______________________________________________ > CentOS mailing list > CentOS at centos.org > http://lists.centos.org/mailman/listinfo/centos >
> I was just wondering if I should reboot some servers that are running > over 180 days? > > They are still stable and have no problems, also top shows no zombie > processes or such, but maybe it's better for the hardware (like ext3 > disk checks f.e.) to reboot every six months... > > btw this uptime really confirms me how stable Centos 4.x really is and > so I wonder how long some people's uptimes on the list are ;)personally no - i never reboot unless i have to and i have some linux boxes running 4 years uptime or more. gotcha though: be careful to tune the fs to not automagically fsck the filesystem on boot. When you have a large fileserver or mail store that even a scheduled reboot can cause hours of downtime as it runs its 'required' fsck!
D Ivago wrote:> Hi, > > I was just wondering if I should reboot some servers that are running > over 180 days? > > They are still stable and have no problems, also top shows no zombie > processes or such, but maybe it's better for the hardware (like ext3 > disk checks f.e.) to reboot every six months... > > btw this uptime really confirms me how stable Centos 4.x really is > and so I wonder how long some people's uptimes on the list are ;)I have some Linux machines that have been up 1-2 years. It certainly wouldn't hurt anything if you reboot them, but hardly seems necessary if they're stable and patched to current levels. I had a RedHat 7.3 box that was up for several years. It finally rebooted when there was some maintenance in that wing of the datacenter that required them to interrupt power for a few minutes. Cheers,
-----Original Message----- From: centos-bounces at centos.org [mailto:centos-bounces at centos.org] On Behalf Of Johnny Hughes Sent: Tuesday, February 13, 2007 6:30 AM To: CentOS ML Subject: Re: [CentOS] reboot long uptimes? On Tue, 2007-02-13 at 12:06 +0100, D Ivago wrote:> Hi, > > I was just wondering if I should reboot some servers that are running > over 180 days? > > They are still stable and have no problems, also top shows no zombie > processes or such, but maybe it's better for the hardware (like ext3 > disk checks f.e.) to reboot every six months...I only reboot on kernel upgrades, that is usually more often than 6 months. But if you don't need to reboot for that reason, I would not reboot at all.> > btw this uptime really confirms me how stable Centos 4.x really is > and so I wonder how long some people's uptimes on the list are ;) > > rmcYou should consider upgrading your kernels when security updates come out ... just to be safe. Especially for machines touching the internet. I usually upgrade my kernels because I like to use LVM snapshots for backups and that has only really started working semi-well since 4.3 and even better in 4.4 ... so most of my machines get rebooted every new kernel, which is at least 2-3 times a year (sometimes more often). That being said, I do have a non internet facing machine that has not been rebooted since it was installed with CentOS-4.0 on it one March 1, 2005. It is an internal router on my employer's infrastructure, and has been up for almost 2 years (and was installed on the day before CentOS-4 was officially released). Thanks, Johnny Hughes ------------- My uptime on some of our boxes are pretty bad, we have roughly 250 CentOS 4.x boxes here I'd say probably 25% of them initially suffer from some sort of bug with cpuspeed which causes kernel panics (until we disable cpuspeed), and then we have this other curious thing that happens with the filesystem where they will occasionally start spamming this "ext3-fs "Journal Has aborted" message until we reboot the boxes (nothing is wrong with the hardware in any of the cases). Other than those 75 or so issues no problems at all. -Drew