← Back to team overview

dx-packages team mailing list archive

[Bug 1234289] Re: accounts-daemon is progressively causing more wakeups over time

 

running strace on one of the treads shows the culprit:

poll([{fd=4, events=POLLIN}, {fd=8, events=POLLIN}], 2, 3998) = 0 (Timeout)
inotify_add_watch(8, "/etc/gdm", IN_MODIFY|IN_ATTRIB|IN_CLOSE_WRITE|IN_MOVED_FROM|IN_MOVED_TO|IN_CREATE|IN_DELETE|IN_DELETE_SELF|IN_MOVE_SELF|IN_UNMOUNT|IN_ONLYDIR) = -1 ENOENT (No such file or directory)
poll([{fd=4, events=POLLIN}, {fd=8, events=POLLIN}], 2, 3996) = 0 (Timeout)
inotify_add_watch(8, "/etc/gdm", IN_MODIFY|IN_ATTRIB|IN_CLOSE_WRITE|IN_MOVED_FROM|IN_MOVED_TO|IN_CREATE|IN_DELETE|IN_DELETE_SELF|IN_MOVE_SELF|IN_UNMOUNT|IN_ONLYDIR) = -1 ENOENT (No such file or directory)
poll([{fd=4, events=POLLIN}, {fd=8, events=POLLIN}], 2, 3996) = 0 (Timeout)
inotify_add_watch(8, "/etc/gdm", IN_MODIFY|IN_ATTRIB|IN_CLOSE_WRITE|IN_MOVED_FROM|IN_MOVED_TO|IN_CREATE|IN_DELETE|IN_DELETE_SELF|IN_MOVE_SELF|IN_UNMOUNT|IN_ONLYDIR) = -1 ENOENT (No such file or directory)

for some reason it is polling every 4 seconds and adding a watch on a
non-existent /etc/gdm directory

** Package changed: accountsservice (Ubuntu) => ubuntu-power-consumption

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

** Changed in: accountsservice (Ubuntu)
   Importance: Undecided => Low

-- 
You received this bug notification because you are a member of DX
Packages, which is subscribed to accountsservice in Ubuntu.
Matching subscriptions: dx-packages
https://bugs.launchpad.net/bugs/1234289

Title:
  accounts-daemon is progressively causing more wakeups over time

Status in The Ubuntu Power Consumption Project:
  New
Status in “accountsservice” package in Ubuntu:
  New

Bug description:
  Over the past few months accounts-daemon has been increasing the
  number of wakeup events it generates, see:

  http://reports.qa.ubuntu.com/power/eventstat/image/2736/machine/1/task
  /accounts-daemon/details/

  In April 2013 it was averaging about 13.5 wakeups per minute, now it
  has increased to 17.5.  This isn't much overall, but it does seem like
  the trend is upwards and every wakeup takes the CPU out of deep sleep
  and hence consumes a little more power.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-power-consumption/+bug/1234289/+subscriptions


References