goa-daemon is waking up 2 times a second and contributing to global warming

Bug #1081806 reported by Colin Ian King
18
This bug affects 4 people
Affects Status Importance Assigned to Milestone
The Ubuntu Power Consumption Project
New
Low
Unassigned
gnome-online-accounts (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

goa-daemon is causing a lot of wakeup events on raring. I'm seeing ~2 wakeups a second which seems excessive. What is it doing?

I've straced it and I see the following:

Process 2881 attached - interrupt to quit
restart_syscall(<... resuming interrupted call ...>) = 1
ioctl(9, FIONREAD, [512]) = 0
write(4, "\1\0\0\0\0\0\0\0", 8) = 8
poll([{fd=4, events=POLLIN}, {fd=5, events=POLLIN}], 2, 10) = 1 ([{fd=4, revents=POLLIN}])
poll([{fd=4, events=POLLIN}, {fd=5, events=POLLIN}], 2, 10) = 1 ([{fd=4, revents=POLLIN}])
read(4, "\1\0\0\0\0\0\0\0", 16) = 8
poll([{fd=4, events=POLLIN}, {fd=5, events=POLLIN}], 2, 10) = 0 (Timeout)
read(4, 0x7fffc4669b20, 16) = -1 EAGAIN (Resource temporarily unavailable)
write(4, "\1\0\0\0\0\0\0\0", 8) = 8
poll([{fd=4, events=POLLIN}, {fd=5, events=POLLIN}, {fd=9, events=POLLIN}], 3, 4294967295) = 2 ([{fd=4, revents=POLLIN}, {fd=9, revents=POLLIN}])
ioctl(9, FIONREAD, [832]) = 0
write(4, "\1\0\0\0\0\0\0\0", 8) = 8
poll([{fd=4, events=POLLIN}, {fd=5, events=POLLIN}], 2, 10) = 1 ([{fd=4, revents=POLLIN}])
read(4, "\2\0\0\0\0\0\0\0", 16) = 8
poll([{fd=4, events=POLLIN}, {fd=5, events=POLLIN}], 2, 10) = 0 (Timeout)
read(4, 0x7fffc4669b20, 16) = -1 EAGAIN (Resource temporarily unavailable)
write(4, "\1\0\0\0\0\0\0\0", 8) = 8
poll([{fd=4, events=POLLIN}, {fd=5, events=POLLIN}, {fd=9, events=POLLIN}], 3, 4294967295) = 2 ([{fd=4, revents=POLLIN}, {fd=9, revents=POLLIN}])
write(4, "\1\0\0\0\0\0\0\0", 8) = 8
read(9, "\2\0\0\0\2\0\0\0\0\0\0\0\20\0\0\0vteG7XYNW\0\0\0\0\0\0\0"..., 1024) = 832
read(9, 0x1bcbb50, 1024) = -1 EAGAIN (Resource temporarily unavailable)
write(4, "\1\0\0\0\0\0\0\0", 8) = 8
poll([{fd=4, events=POLLIN}, {fd=5, events=POLLIN}, {fd=9, events=POLLIN}], 3, 1000) = 1 ([{fd=4, revents=POLLIN}])
read(4, "\3\0\0\0\0\0\0\0", 16) = 8
poll([{fd=4, events=POLLIN}, {fd=5, events=POLLIN}, {fd=9, events=POLLIN}], 3, 1000) = 1 ([{fd=9, revents=POLLIN}])
read(4, 0x7fffc4669b20, 16) = -1 EAGAIN (Resource temporarily unavailable)
ioctl(9, FIONREAD, [704]) = 0
write(4, "\1\0\0\0\0\0\0\0", 8) = 8
poll([{fd=4, events=POLLIN}, {fd=5, events=POLLIN}], 2, 10) = 1 ([{fd=4, revents=POLLIN}])
poll([{fd=4, events=POLLIN}, {fd=5, events=POLLIN}], 2, 10) = 1 ([{fd=4, revents=POLLIN}])
read(4, "\1\0\0\0\0\0\0\0", 16) = 8
poll([{fd=4, events=POLLIN}, {fd=5, events=POLLIN}], 2, 10) = 0 (Timeout)
read(4, 0x7fffc4669b20, 16) = -1 EAGAIN (Resource temporarily unavailable)

file descriptors:

lrwx------ 1 king king 64 Nov 21 22:20 0 -> /dev/null
lrwx------ 1 king king 64 Nov 21 22:20 1 -> /dev/null
lr-x------ 1 king king 64 Nov 21 22:20 10 -> anon_inode:inotify
lrwx------ 1 king king 64 Nov 21 22:20 2 -> /dev/null
lrwx------ 1 king king 64 Nov 21 22:20 3 -> socket:[15838]
lrwx------ 1 king king 64 Nov 21 22:20 4 -> anon_inode:[eventfd]
lrwx------ 1 king king 64 Nov 21 22:20 5 -> anon_inode:[signalfd]
lrwx------ 1 king king 64 Nov 21 22:20 6 -> /dev/null
lrwx------ 1 king king 64 Nov 21 22:20 7 -> socket:[17578]
lrwx------ 1 king king 64 Nov 21 22:20 8 -> anon_inode:[eventfd]
lrwx------ 1 king king 64 Nov 21 22:20 9 -> anon_inode:[eventfd]

so it seems quite busy on an eventfd for some reason.

Anyhow, can we see if we can reduce this excessive amount of wakeups? I'd hate to see this chew up my battery for no reason at all.

ProblemType: Bug
DistroRelease: Ubuntu 13.04
Package: gnome-online-accounts 3.6.2-0ubuntu1
ProcVersionSignature: Ubuntu 3.7.0-3.9-generic 3.7.0-rc6
Uname: Linux 3.7.0-3-generic x86_64
ApportVersion: 2.6.2-0ubuntu5
Architecture: amd64
Date: Wed Nov 21 22:13:40 2012
EcryptfsInUse: Yes
InstallationDate: Installed on 2012-06-02 (172 days ago)
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release amd64 (20120425)
MarkForUpload: True
ProcEnviron:
 LANGUAGE=en_GB:en
 TERM=xterm
 PATH=(custom, no user)
 LANG=en_GB.UTF-8
 SHELL=/bin/bash
SourcePackage: gnome-online-accounts
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Colin Ian King (colin-king) wrote :
Changed in gnome-online-accounts (Ubuntu):
importance: Undecided → Medium
affects: gnome-online-accounts (Ubuntu) → ubuntu-power-consumption
Revision history for this message
Colin Ian King (colin-king) wrote :

Apparently I shouldn't have it installed anyhow, so no idea how it got installed. I just ran an update from quantal -> raring and it got installed. So it's kind of academic as it won't be used by most unity users.

Changed in ubuntu-power-consumption:
importance: Medium → Low
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in gnome-online-accounts (Ubuntu):
status: New → Confirmed
Revision history for this message
Charles (slivkoff) wrote :

I find myself killing this some time after each login, running 13.10, saucy.

Is this an issue on 14.04?

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.