Bug 167800 - CRM648268: kernel reporting init process cutime as very large negative value
Summary: CRM648268: kernel reporting init process cutime as very large negative value
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 3
Classification: Red Hat
Component: kernel
Version: 3.0
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Peter Staubach
QA Contact: Brian Brock
URL:
Whiteboard:
Depends On:
Blocks: 168424
TreeView+ depends on / blocked
 
Reported: 2005-09-08 12:30 UTC by Issue Tracker
Modified: 2018-10-19 20:54 UTC (History)
3 users (show)

Fixed In Version: RHSA-2006-0144
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-03-15 16:31:42 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
output of cat /proc/1/stat (256 bytes, text/plain)
2005-09-08 12:34 UTC, Jatin Nansi
no flags Details
Proposed patch (600 bytes, patch)
2005-09-08 12:34 UTC, Jatin Nansi
no flags Details | Diff
Proposed patch (612 bytes, patch)
2005-10-07 17:21 UTC, Peter Staubach
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2006:0144 0 qe-ready SHIPPED_LIVE Moderate: Updated kernel packages available for Red Hat Enterprise Linux 3 Update 7 2006-03-15 05:00:00 UTC

Description Issue Tracker 2005-09-08 12:30:00 UTC
Escalated to Bugzilla from IssueTracker

Comment 8 Jatin Nansi 2005-09-08 12:34:18 UTC
Created attachment 118590 [details]
output of cat /proc/1/stat

Comment 9 Jatin Nansi 2005-09-08 12:34:48 UTC
Created attachment 118591 [details]
Proposed patch

Comment 10 Peter Staubach 2005-10-07 17:21:19 UTC
Created attachment 119715 [details]
Proposed patch

Comment 11 Peter Staubach 2005-10-07 17:26:25 UTC
The problem appears to be pretty much as described.  The kernel accumulates
the user and system times in the cutime and cstime elements of the task_struct.

The proc file system prints these elements after converting them to "clock"
ticks.  These ticks are currently defined to be 100 per second.  The problem
was that although the original values are unsigned long entities, the converted
values were being printed as signed long entities.

Interestingly, the other "clock" tick entities were being printed as unsigned
long entities already.

Comment 13 Ernie Petrides 2005-10-20 05:40:55 UTC
A fix for this problem has just been committed to the RHEL3 U7
patch pool this evening (in kernel version 2.4.21-37.6.EL).


Comment 14 Karel Zak 2005-11-02 20:25:02 UTC
Note that procps update has been rejected from RHEL3-U7 (see bug #167802).

Comment 17 Red Hat Bugzilla 2006-03-15 16:31:42 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHSA-2006-0144.html



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