Red Hat Bugzilla – Bug 167800
CRM648268: kernel reporting init process cutime as very large negative value
Last modified: 2010-10-21 23:20:41 EDT
Escalated to Bugzilla from IssueTracker
Created attachment 118590 [details]
output of cat /proc/1/stat
Created attachment 118591 [details]
Created attachment 119715 [details]
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.
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).
Note that procps update has been rejected from RHEL3-U7 (see bug #167802).
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.