[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: uptime limit





--On February 19, 2009 2:49:21 PM +0100 Matus UHLAR - fantomas <uhlar@fantomas.sk> wrote:

On 19.02.09 11:38, Paa.listas wrote:
      I have a Server running since 2007, but when I run uptime it's
      tells me the system was running for only 88 days.. There are any
limits in the uptime utility?

I think it rotates after some ~497 days, but only with older (2.4?)
kernels on 32-bit systems. Basically it happens when 32-bit counter of
timer tick (100Hz) overflows:

(2^32-1)/60/60/24/100
497.10

Yup this is exactly what happens. We've got a machine with a bit newer setup that we're leaving running simply because it's been up for over 1000 days! :D

11:38:48 up 1032 days, 16:03,  1 user,  load average: 0.09, 0.06, 0.02

But that's a 2.6 kernel based system. 2.4 well...here's a machine that's been up probably atleast as long...

11:39:43 up 2 days,  1:36,  0 users,  load average: 0.00, 0.00, 0.00

It's last reboot was back in May of *2007*. So it's been around a couple times.



Reply to: