← Back to team overview

ubuntu-phone team mailing list archive

BQ r23: proc scoperegistry running permanently with 50++ % CPU uitilization

 

Hello,

To catch the reason for battery drain I have a cron job which puts every
5 minutes (when the system is awaked from suspend) the information about
the battery and the top 20 CPU processes, like this block into a log
file:

Mon Jul 13 08:45:01 CEST 2015
battery capacity%: 63
battery temp     : 310
top - 08:45:01 up 6 days, 23:42,  2 users,  load average: 0.00, 0.01, 0.05
Tasks: 215 total,   2 running, 205 sleeping,   7 stopped,   1 zombie
%Cpu(s):  3.4 us,  6.7 sy,  0.1 ni, 89.7 id,  0.1 wa,  0.0 hi,  0.1 si, %0.0 st
KiB Mem:    983924 total,   844020 used,   139904 free,     5568 buffers
KiB Swap:   524284 total,   257124 used,   267160 free.   136668 cached Mem

  PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND
 2396 phablet   20   0  369716   3456   2360 S  52.8  0.4 201:57.47 scoperegis+
    3 root      20   0       0      0      0 R  21.1  0.0  88:29.97 ksoftirqd/0
17022 phablet   20   0    6124   1060    728 R  21.1  0.1   0:00.08 top
32013 root      20   0       0      0      0 S  15.9  0.0  23:30.08 ksoftirqd/1
17027 root      20   0       0      0      0 S  10.6  0.0   0:00.02 ksoftirqd/2
 1263 root      20   0       0      0      0 S   5.3  0.0   0:01.96 kworker/0:2
 2230 phablet   20   0  578636  72336  16724 S   5.3  7.4  57:20.33 unity8
    1 root      20   0    3860   2040    944 S   0.0  0.2   0:42.62 init
    2 root      20   0       0      0      0 S   0.0  0.0   0:02.41 kthreadd
    6 root     -99   0       0      0      0 S   0.0  0.0   0:01.67 migration/0
   16 root       0 -20       0      0      0 S   0.0  0.0   0:00.00 khelper
   17 root      20   0       0      0      0 S   0.0  0.0   0:00.00 kdevtmpfs
   18 root       0 -20       0      0      0 S   0.0  0.0   0:00.00 netns

What calls my attention was the proc 2396 with high CPU utilization:

phablet@ubuntu-phablet:~$ ps ax | fgrep scope
 2319 ?        Ssl    0:06 /usr/lib/arm-linux-gnueabihf/unity-scopes/smartscopesproxy upstart
 2396 ?        Ssl  240:49 /usr/lib/arm-linux-gnueabihf/unity-scopes/scoperegistry

which runs since yesterday like this:

Sun Jul 12 12:30:06 CEST 2015
 2396 phablet   20   0  369716   3456   2360 S  54.4  0.4   1:43.38 scoperegis+
Sun Jul 12 12:38:49 CEST 2015
 2396 phablet   20   0  369716   3456   2360 S  49.1  0.4   4:02.55 scoperegis+
Sun Jul 12 12:40:01 CEST 2015
 2396 phablet   20   0  369716   3456   2360 S  54.8  0.4   4:38.53 scoperegis+
Sun Jul 12 12:46:58 CEST 2015
 2396 phablet   20   0  369716   3456   2360 S  53.4  0.4   5:31.74 scoperegis+
Sun Jul 12 12:52:59 CEST 2015
 2396 phablet   20   0  369716   3456   2360 S  49.0  0.4   6:05.37 scoperegis+
...

What is this?

	matthias

-- 
Matthias Apitz, guru@xxxxxxxxxxx, http://www.unixarea.de/  +49-176-38902045
No! Nein! ¡No! Όχι! -- Ευχαριστούμε!


Follow ups