2003-02-21 09:06:33

by stephan

[permalink] [raw]
Subject: uptime reset on 2.4.11/12 (and maybe newer versions?) at +/- 500 days ?

yesterday, 2 machines went back to uptime 0 without a reboot
(think they booted arround the same time)

kernel 2.4.11 and kernel 2.4.12
(redhat 6.2 + updates)

is this a known problem that is fixed in later kernels ?

don't know the exact uptime anymore,
but i have an BitchX (irc client) running since arround the bootup

which shows :

| Client Uptime: 497d 18h 30m 20s

so maybe the uptime jumps back to zero at 497 days ?

current uptime on one machine shows :

10:09am up 18:24, 8 users, load average: 0.61, 0.35, 0.23

(this machine runs 2.4.11)

the other machine (with 2.4.12) :

10:11am up 15:13, 2 users, load average: 4.97, 4.84, 4.76
(load on this machine is also incorrect since yesterday (and top)


2003-02-21 15:09:53

by Chris Friesen

[permalink] [raw]
Subject: Re: uptime reset on 2.4.11/12 (and maybe newer versions?) at +/- 500 days ?

[email protected] wrote:
> so maybe the uptime jumps back to zero at 497 days ?

jiffie rollover.

Take a 32-bit counter incrementing at 100Hz, and it will roll over in
497.1 days.

Chris

--
Chris Friesen | MailStop: 043/33/F10
Nortel Networks | work: (613) 765-0557
3500 Carling Avenue | fax: (613) 765-2986
Nepean, ON K2H 8E9 Canada | email: [email protected]