Bug 167800
| Summary: | CRM648268: kernel reporting init process cutime as very large negative value | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 3 | Reporter: | Issue Tracker <tao> | ||||||||
| Component: | kernel | Assignee: | Peter Staubach <staubach> | ||||||||
| Status: | CLOSED ERRATA | QA Contact: | Brian Brock <bbrock> | ||||||||
| Severity: | medium | Docs Contact: | |||||||||
| Priority: | medium | ||||||||||
| Version: | 3.0 | CC: | kzak, petrides, tao | ||||||||
| Target Milestone: | --- | ||||||||||
| Target Release: | --- | ||||||||||
| Hardware: | All | ||||||||||
| OS: | Linux | ||||||||||
| Whiteboard: | |||||||||||
| Fixed In Version: | RHSA-2006-0144 | Doc Type: | Bug Fix | ||||||||
| Doc Text: | Story Points: | --- | |||||||||
| Clone Of: | Environment: | ||||||||||
| Last Closed: | 2006-03-15 16:31:42 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: | |||||||||||
| Bug Depends On: | |||||||||||
| Bug Blocks: | 168424 | ||||||||||
| Attachments: |
|
||||||||||
|
Description
Issue Tracker
2005-09-08 12:30:00 UTC
Created attachment 118590 [details]
output of cat /proc/1/stat
Created attachment 118591 [details]
Proposed patch
Created attachment 119715 [details]
Proposed patch
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. http://rhn.redhat.com/errata/RHSA-2006-0144.html |