High CPU due to excessive device changed signals from upower
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical System Image |
Fix Released
|
High
|
Canonical Devices Products | ||
ubuntu-system-settings (Ubuntu) |
Invalid
|
High
|
Unassigned | ||
ubuntu-system-settings (Ubuntu RTM) |
Confirmed
|
High
|
Ken VanDine | ||
upower (Ubuntu RTM) |
Fix Released
|
High
|
Unassigned |
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://
creating surface at (0, 58) with size (768, 1222) with title 'Window 1'2014-07-02 17:00:51,118 - CRITICAL - ../../.
2014-07-03 00:12:28,936 - CRITICAL - ../../.
2014-07-03 00:12:29,902 - WARNING - file://
creating surface at (0, 58) with size (768, 1222) with title 'Window 1'2014-07-03 00:12:30,176 - CRITICAL - ../../.
Related branches
- Sebastien Bacher (community): Disapprove
- Iain Lane (community): Needs Information
- PS Jenkins bot: Approve (continuous-integration)
-
Diff: 138 lines (+58/-31)1 file modifiedplugins/battery/plugin/battery-plugin.cpp (+58/-31)
- Ken VanDine: Disapprove
- Sebastien Bacher (community): Needs Fixing
-
Diff: 135 lines (+58/-28)1 file modifiedplugins/battery/plugin/battery-plugin.cpp (+58/-28)
- Ubuntu Touch System Settings: Pending requested
-
Diff: 87 lines (+16/-3)4 files modifieddebian/control (+1/-0)
plugins/battery/battery.cpp (+5/-1)
plugins/battery/plugin/battery-plugin.cpp (+4/-1)
tests/autopilot/ubuntu_system_settings/tests/__init__.py (+6/-1)
Changed in ubuntu-system-settings (Ubuntu): | |
importance: | Undecided → Low |
importance: | Low → High |
tags: | added: lt-category-visible lt-prio-low |
Changed in ubuntu-system-settings (Ubuntu): | |
assignee: | nobody → Martin Pitt (pitti) |
status: | Incomplete → Triaged |
tags: | added: ota-1 rtm14 |
Changed in ubuntu-system-settings (Ubuntu): | |
status: | Incomplete → In Progress |
Changed in upower (Ubuntu RTM): | |
importance: | Undecided → High |
status: | New → Confirmed |
Changed in ubuntu-system-settings (Ubuntu RTM): | |
status: | New → Invalid |
Changed in ubuntu-system-settings (Ubuntu): | |
status: | In Progress → Invalid |
Changed in canonical-devices-system-image: | |
assignee: | nobody → Canonical Devices Products (canonical-devices-products-team) |
importance: | Undecided → High |
milestone: | none → r1 |
status: | New → Confirmed |
Changed in ubuntu-system-settings (Ubuntu RTM): | |
status: | Invalid → In Progress |
assignee: | nobody → Ken VanDine (ken-vandine) |
importance: | Undecided → High |
Changed in upower (Ubuntu RTM): | |
status: | Confirmed → Fix Released |
Changed in canonical-devices-system-image: | |
status: | Confirmed → Fix Released |
Had this again this morning. Left phone overnight and it's still got system settings running but is wedged at 100% cpu
top - 11:26:33 up 1 day, 19:36, 2 users, load average: 1.24, 1.08, 1.02
Tasks: 255 total, 2 running, 245 sleeping, 8 stopped, 0 zombie
%Cpu(s): 52.5 us, 3.4 sy, 0.0 ni, 43.6 id, 0.5 wa, 0.0 hi, 0.0 si, 0.0 st
KiB Mem: 1878632 total, 1831252 used, 47380 free, 61916 buffers
KiB Swap: 524284 total, 3124 used, 521160 free. 297436 cached Mem
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
5319 phablet 20 0 334864 104620 28532 R 99.2 5.6 2:23.93 system-settings