Cpu load 99-100% of Smartscope

Bug #1621950 reported by Hamel
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical System Image
Confirmed
Undecided
Unassigned
unity-scopes-api (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Smartscope always in top (cpu load 99-100%)

Meizu MX4 OTA-12 stable

top - 22:39:36 up 1 day, 4:15, 1 user, load average: 0.00, 0.01, 0.05
Tasks: 321 total, 13 running, 308 sleeping, 0 stopped, 0 zombie
%Cpu0 : 2.9 us, 4.9 sy, 0.0 ni, 92.2 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st
%Cpu4 : 35.2 us, 64.8 sy, 0.0 ni, 0.0 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st
KiB Mem: 1937784 total, 1176564 used, 761220 free, 19248 buffers
KiB Swap: 524284 total, 0 used, 524284 free. 187348 cached Mem
21308 phablet 20 0 380652 7304 5648 S 99.1 0.4 1:09.39 smartscope+
21324 root 20 0 6288 1300 816 R 3.8 0.1 0:10.33 top
 1754 root 20 0 853780 13060 9284 S 1.0 0.7 6:19.79 unity-syst+
19931 root 10 -10 0 0 0 S 1.0 0.0 0:00.45 rx_thread
21244 root 20 0 0 0 0 S 1.0 0.0 0:02.50 kworker/0:2
    1 root 20 0 3948 2428 1080 S 0.0 0.1 0:26.57 init
    2 root 20 0 0 0 0 S 0.0 0.0 0:00.04 kthreadd
    3 root 20 0 0 0 0 S 0.0 0.0 0:04.13 ksoftirqd/0
    5 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 kworker/0:+
    7 root -99 0 0 0 0 S 0.0 0.0 0:01.86 migration/0
    8 root 20 0 0 0 0 S 0.0 0.0 0:19.10 rcu_preempt
    9 root 20 0 0 0 0 S 0.0 0.0 0:00.00 rcu_bh
   10 root 20 0 0 0 0 S 0.0 0.0 0:00.32 rcu_sched
   11 root -99 0 0 0 0 R 0.0 0.0 0:01.63 migration/1
   12 root 20 0 0 0 0 R 0.0 0.0 0:00.82 ksoftirqd/1
   14 root 0 -20 0 0 0 S 0.0 0.0 0:00.04 kworker/1:+

Revision history for this message
Hamel (hameloid) wrote :

process - /usr/lib/arm-linux-gnueabihf/unity-scopes/smartscopesproxyupstart

Revision history for this message
Pat McGowan (pat-mcgowan) wrote :

Can you add more information, which scopes are running at the time, does it get fixed on a reboot, ...
Can you attach your .cache/upstart/smart-scopes-proxy.log?

Changed in canonical-devices-system-image:
status: New → Incomplete
Revision history for this message
Hamel (hameloid) wrote :

Now this is no load.
I did't make reboot.

Revision history for this message
Hamel (hameloid) wrote :

I have only three scopes - Today, Apps, Stock'n'Roll

Revision history for this message
Michi Henning (michihenning) wrote :

There is no direct evidence in the log to indicate something spinning. But it shows that dash.ubuntu.com wasn't responding for much of the time, as evidenced by the periodic retries. We should check that the code doesn't do something silly when that happens.

Revision history for this message
Marcus Tomlinson (marcustomlinson) wrote :

I'll look into whether we're doing any unnecessary spinning while retrieving remote scopes. Unfortunately however, we have seen this behaviour before but it seemed to be limited to specific HW+SW configurations (E.g. Bug #1496875).

Revision history for this message
Hamel (hameloid) wrote :

Hmmm... On my SIM card also left internet trafic limit. And maybe when i connect to wifi, CPU load stops.

Revision history for this message
Marcus Tomlinson (marcustomlinson) wrote :

That seems to be it Hamel, thanks. I just tried with a SIM card with no data and I can reproduce the issue. Looking into it.

Changed in canonical-devices-system-image:
status: Incomplete → Confirmed
Changed in unity-scopes-api (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.