Bug 25270

Summary: uptime resets after aproximately 500 days
Product: [Retired] Red Hat Linux Reporter: Marko Hrastovec <marko.hrastovec>
Component: kernelAssignee: Michael K. Johnson <johnsonm>
Status: CLOSED NOTABUG QA Contact: Brock Organ <borgan>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.0CC: marko.hrastovec
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
URL: www.hal.si
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2001-01-30 08:51:45 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Marko Hrastovec 2001-01-30 08:51:41 UTC
Kernel keeps the number of seconds about uptime. The numbers
can be found in /proc/uptime.

In kernel source uptime variable is declared as long.
(include/linux/kernel.h)

After cca. 500 days the counter resets because of overflow.
Uptime in seconds needs larger number type.

Comment 1 Michael K. Johnson 2001-01-30 21:30:16 UTC
This is by design; uptime has to be atomically updated.  Changing this
gets proposed over and over on linux-kernel, and is repeatedly rejected
for the same reason.