Hello,
After a reboot of the server, I see with ‘ps ax’ and as well with ‘top’ for most of the
processes a invalid, astronomicly high vale of the consumed CPU time:
# ps ax
PID TTY STAT TIME COMMAND
1 ? Ss 14332454:39 init [3]
2 ? S 20233020:37 [kthreadd]
3 ? S 0:00 [ksoftirqd/0]
4 ? S 41347602:07 [kworker/0:0]
6 ? S 0:00 [migration/0]
7 ? S 0:00 [watchdog/0]
8 ? S 0:00 [migration/1]
10 ? S 300258:44 [ksoftirqd/1]
11 ? S 20533279:22 [kworker/0:1]
12 ? S 300258:44 [watchdog/1]
13 ? S 0:00 [migration/2]
14 ? S 0:00 [kworker/2:0]
15 ? S 0:00 [ksoftirqd/2]
16 ? S 300258:44 [watchdog/2]
sunrise:~ # cat /etc/SuSE-release
SUSE Linux Enterprise Server 11 (x86_64)
VERSION = 11
PATCHLEVEL = 2
sunrise:~ # uname -a
Linux sunrise 3.0.13-0.27-default #1 SMP Wed Feb 15 13:33:49 UTC 2012 (d73692b) x86_64 x86_64 x86_64 GNU/Linux
I digged into this and see that the invalid values are coming from the /proc/PID/stat file;
I have here two processes with there ‘ps’ value and the corresponding /proc/PID/stat
file values:
ps lines say:
7109 pts/1 S+ 0:19 top
7129 ? S 36843721:01 /data/opt/lib/sisis/avserver/bin/AVServer -p 8076
/proc/pid/stat say:
# cat /proc/7109/stat
7109 (top) S 5427 7109 5427 34817 7109 8192 428 0 0 0 825 1142 0 0 20 0 1 0 1644813 9256960
320 28562001920 4194304 4289772 140737488348448
140737488347304 140737346743459 0 0 0 138047495 0 0 0 17 9 0 0 0 0 0
# cat /proc/7129/stat
7129 (AVServer) S 3981 3962 3962 0 -1 8256 2717 3582 0 0 1814163308025 1842872854930 0
1801552443 20 0 1 0 1663231 81698816 8743 28562001920
134512640 134754471 4294953328 4294918444 4294960176 0 0 4103 272632320 0 0 0 17 26 0 0 0 0
0
The invalid value ‘utime’ is the 14th value (start counting with 1), i.e. 825 for the proc 7109
and 1814163308025 for the other proc 7129.
A power-off reboot let disapear the problem.
Any ideas? Thanks in advance
Matthias