← Back to team overview

desktop-packages team mailing list archive

[Bug 1337200] Re: High CPU due to excessive device changed signals from upower

 

After attempting to work around this in ubuntu-system-settings, I don't
think it's possible.  The problem seems to be upower pushing dbus-
daemon's load high enough that slows down or blocks dbus calls.

** Also affects: upower (Ubuntu)
   Importance: Undecided
       Status: New

** Package changed: upower (Ubuntu) => upower (Ubuntu RTM)

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to upower in Ubuntu.
https://bugs.launchpad.net/bugs/1337200

Title:
  High CPU due to excessive device changed signals from upower

Status in “ubuntu-system-settings” package in Ubuntu:
  In Progress
Status in “ubuntu-system-settings” package in Ubuntu RTM:
  New
Status in “upower” package in Ubuntu RTM:
  New

Bug description:
  I've noticed this a few times but reproduced it today explicitly to
  file a bug.

  Open system settings.
  Perhaps open other apps (not necessarily required) on my mako I ran BBC News webapp.
  Put phone on charger, go to bed
  8 hours later, wake phone up, switch to system settings

  UI in u-s-s is unresponsive, other apps are fine.
  Tapping icons in the main screen of u-s-s yields no result for a long time, sometimes swiping away from the app and coming back is required to make it respond.
  It feels like the app has locked up.

  Indeed, looking at top, I see it's eating a core while doing
  "nothing".

  top - 08:47:30 up  9:55,  2 users,  load average: 1.30, 1.41, 1.61
  Tasks: 249 total,   2 running, 247 sleeping,   0 stopped,   0 zombie
  %Cpu(s): 51.5 us,  2.9 sy,  0.0 ni, 45.4 id,  0.2 wa,  0.0 hi,  0.0 si,  0.0 st
  KiB Mem:   1878632 total,  1818100 used,    60532 free,   121936 buffers
  KiB Swap:   524284 total,        0 used,   524284 free.   810184 cached Mem

    PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND                                                         
   4220 phablet   20   0  350900 130908  29404 R  99.6  7.0   3:40.49 system-settings                                                 
  11266 phablet   20   0    5956   1224    772 R   2.6  0.1   0:00.54 top                                                             
    754 message+  20   0  212124 207364    748 S   1.6 11.0   8:59.75 dbus-daemon                                                     
   1124 root      20   0  186560  16976  12608 S   0.6  0.9   0:34.08 unity-system-co                                                 
   1162 9999      20   0   10904    828    488 S   0.6  0.0   0:02.55 sensors.qcom                                                    
   1164 root       0 -20    7572    548    396 S   0.6  0.0   4:48.69 mpdecision                                                      
   4413 phablet   20   0  582656  72904  52940 S   0.6  3.9   0:08.16 webapp-containe                                                 
   1171 root      20   0    8244   1624   1224 S   0.3  0.1   0:08.97 Binder_2                                                        
   1675 root      20   0   51532   6140   4736 S   0.3  0.3   0:54.45 NetworkManager                                                  
   2521 phablet   20   0   44908   2424   2016 S   0.3  0.1   0:02.08 indicator-messa                                                 
   2565 phablet   20   0  566332 127124  56824 S   0.3  6.8   3:55.87 unity8                                                          
   2602 phablet   20   0  104328   8900   7296 S   0.3  0.5   0:29.69 pay-service              

  Not much in the log.


  2014-07-02 17:00:50,867 - WARNING - file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components/ListItems/SingleControl.qml:59:14: Unable to assign [undefined] to bool
  creating surface at (0, 58) with size (768, 1222) with title 'Window 1'2014-07-02 17:00:51,118 - CRITICAL - ../../../../lib/SignOn/connection-manager.cpp 106 setupSocketConnection p2p error: QDBusError("org.freedesktop.DBus.Error.FileNotFound", "Failed to connect to socket /run/user/32011/signond/socket: No such file or directory") 1 
  2014-07-03 00:12:28,936 - CRITICAL - ../../../../lib/SignOn/connection-manager.cpp 106 setupSocketConnection p2p error: QDBusError("org.freedesktop.DBus.Error.FileNotFound", "Failed to connect to socket /run/user/32011/signond/socket: No such file or directory") 1 
  2014-07-03 00:12:29,902 - WARNING - file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components/ListItems/SingleControl.qml:59:14: Unable to assign [undefined] to bool
  creating surface at (0, 58) with size (768, 1222) with title 'Window 1'2014-07-03 00:12:30,176 - CRITICAL - ../../../../lib/SignOn/connection-manager.cpp 106 setupSocketConnection p2p error: QDBusError("org.freedesktop.DBus.Error.FileNotFound", "Failed to connect to socket /run/user/32011/signond/socket: No such file or directory") 1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-system-settings/+bug/1337200/+subscriptions