← Back to team overview

touch-packages team mailing list archive

[Bug 1496875] Re: smartscopesproxy uses a lot of CPU with bad internet

 

Ok so I can reproduce this issue flawlessly by connecting to a
subscription hotspot nearby and refreshing any remote scope (In fact
there seems to generally be high CPU usage spikes coming from the
smartscopesproxy process even on a working wifi spot). This is on the
mako with:

build: 113
channel: ubuntu-touch/rc-proposed/bq-aquaris.en

I then upgraded to:

build: 115
channel: ubuntu-touch/rc-proposed/bq-aquaris.en

and didn't see the issue anymore. The smartscopesproxy process seemed to
work fine with no excessive CPU usage. However, I did see a completely
new issue:
https://bugs.launchpad.net/ubuntu/+source/android/+bug/1497167. Perhaps
this masked smartscopesproxy's usage? Not sure.

Then I flashed my BQ with the latest image from ubuntu-touch/rc-proposed
/bq-aquaris.en:

current build number: 127
device name: krillin
channel: ubuntu-touch/rc-proposed/bq-aquaris.en
last update: 2015-09-18 04:54:49
version version: 127
version ubuntu: 20150918
version device: 20150821-736d127
version custom: 20150821-887-33-32-vivid

I tried the same test and did not experience any excessive CPU usage
from smartscopesproxy. I checked the version of libunity-scopes3 on both
the mako 113 and krillin 127, and both are at
0.6.19+15.04.20150724.3-0ubuntu1.

So to me this looks to be a mako specific problem. The same version of
smartscopesproxy is on both devices, yet on the mako it seems to eat the
CPU like crazy.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to unity-scopes-api in
Ubuntu.
https://bugs.launchpad.net/bugs/1496875

Title:
  smartscopesproxy uses a lot of CPU with bad internet

Status in unity-scopes-api package in Ubuntu:
  New

Bug description:
  I have a prepaid 3G SIM card that has no data left on it.  When I use
  the latest phone image, I see reliable spikes of CPU from
  smartscopesproxy every now and then.  It will spike for a few seconds.
  Then die down for a few seconds.  Then repeat.

  If I connect to wifi, it stops.  So it seems like it just couldn't
  handle the "fake" internet that was being provided by my SIM carrier.
  It was returning results, just not the real results.

  I'm guessing the same thing would happen in coffee-shop or hotel wifi
  before you log into it.

  
  current build number: 113
  device name: mako
  channel: ubuntu-touch/rc-proposed/bq-aquaris.en
  last update: 2015-09-16 14:21:58
  version version: 113
  version ubuntu: 20150916
  version device: 20150911
  version custom: mako-1.1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unity-scopes-api/+bug/1496875/+subscriptions


References