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

Re: no days in uptime



Hello Sebastiaan!

At Wednesday 30 July 2003 08:50 Sebastiaan wrote:

> I have encountered a strange problem in my uptime status. I have a
> computer running for over 500 days and a script that displays the
> uptime in days with MRTG.
> 
> For some reason, after 497 days the uptime doesn't return day
> information any more:
> 
> $ uptime
>  08:36:00 up 14:48,  2 users,  load average: 0.08, 0.18, 0.16
> 
> and
> 
> $ cat /proc/uptime
> 53341.82 17513797.50
> 
> 
> I am sure of 2 things:
> - it wasn't me (I was on vacation and I don't have auto-update
> scripts running)
> - the computer doesn't reboot daily, since /tmp isn't cleaned
> 
> I am running kernel 2.4.18 on a PowerMac.
> 
> Any ideas what is going on here?

Yep, "jiffies rollover", see

http://e-zine.nluug.nl/hold.html?cid=158

for further info.

HTH,
Flo



Reply to: