Public bug reported:
I'am using Ubuntu Server amd64 10.04
Linux alge 2.6.32-28-server #55-Ubuntu SMP Mon Jan 10 23:57:16 UTC 2011
x86_64 GNU/Linux
The utime counter in /proc/stat is overflowing at a value of roughly
2^32/10, also the stime counter is roughly 2^62 afterwards.
Here i dumped the content of /proc/stat for a process which used >2.1
mil cpu sec every 60 seconds - last correct line:
29630 (main) R 29629 27811 17057 34818 27811 4202496 48883664 0 3 0
214675699 42974 0 0 20 0 24 0 199761349 15510073344 3561325
18446744073709551615 4194304 4423296 140734657761152 140734657757880
4249123 0 0 0 0 18446744073709551615 0 0 17 12 0 0 0 0 0
214675699 and 42974 are correct values of user and system time
60 secs later:
29630 (main) R 29629 27811 17057 34818 27811 4202496 48889323 0 3 0
85858531240 4611685932568856662 0 0 20 0 24 0 199761349 15510749184
3565333 18446744073709551615 4194304 4423296 140734657761152
140734657757880 4251022 0 0 0 0 18446744073709551615 0 0 17 12 0 0 0 0 0
85858531240 and 4611685932568856662 - not so good....
ps or top or htop are showing garbage for usertime afterwards.
_SC_CLK_TCK seems to be 100 on my system.
** Affects: ubuntu
Importance: Undecided
Status: New
** Tags: overflow proc stime utime
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/747083
Title:
stime and utime overflow in /proc/stat
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs