Red Hat Bugzilla – Bug 1461718
Process %CPU usage shown erroneously
Last modified: 2017-12-06 07:26:07 EST
Description of problem:
One CPU can be seen as running at ~12-15% in htop.
Even so, no CPU% is shown to be used by any process.
Also, the ps output tells us that the process /usr/sbin/modgudd have been running for aproximately 295 years.
root@krut-gw-6:~# ps -ef | grep modgud
root 1204 1 99 2015 ? 107947-04:13:10 /usr/sbin/modgudd --pidfile=/var/run/modgudd.pid --socketfile=/var/run/modgudd.sock --script-directory=/etc/modgud --configuration=sqlite3:/etc/modgud/configuration.sqlite3
Which should not be possible since the uptime of the host is:
10:34:04 up 860 days, 4:30, 2 users, load average: 0.00, 0.02, 0.00
Version-Release number of selected component (if applicable):
Seems to happen when a process have been running for a long time.
Steps to Reproduce:
1. Run process for a long time.
Running time of process is longer than the uptime of the system.
Running time of process should not be longer than the uptime of the system.
Reassigning to more suitable component.
htop is not a part of procps, but with the second issue with wrong uptime values, please check the length of file /proc/stat when you encounter the problem.
If it's excessively long then showing wrong values for STIME is a known issue and is to be fixed.
Please note that RHEL6 has entered Phase 3, which means only critical issues shall be fixed.
I do not have access to that computer anymore, but it does sound that our problems were due to the mentioned bug.
Red Hat Enterprise Linux 6 is in the Production 3 Phase. During the Production 3 Phase, Critical impact Security Advisories (RHSAs) and selected Urgent Priority Bug Fix Advisories (RHBAs) may be released as they become available.
The official life cycle policy can be reviewed here:
This issue does not meet the inclusion criteria for the Production 3 Phase and will be marked as CLOSED/WONTFIX. If this remains a critical requirement, please contact Red Hat Customer Support to request a re-evaluation of the issue, citing a clear business justification. Note that a strong business justification will be required for re-evaluation. Red Hat Customer Support can be contacted via the Red Hat Customer Portal at the following URL: