Bug 25270 - uptime resets after aproximately 500 days
Summary: uptime resets after aproximately 500 days
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: kernel   
(Show other bugs)
Version: 6.0
Hardware: i386
OS: Linux
Target Milestone: ---
Assignee: Michael K. Johnson
QA Contact: Brock Organ
URL: www.hal.si
Depends On:
TreeView+ depends on / blocked
Reported: 2001-01-30 08:51 UTC by Marko Hrastovec
Modified: 2007-04-18 16:30 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2001-01-30 08:51:45 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

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.

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.

Note You need to log in before you can comment on or make changes to this bug.