There is probably a deeper issue here in that 'monitor_files' should
only get called when the Fontconfig config changes (Based on the return
value of 'FcConfigUptoDate'). That should not be happening every 4
seconds.

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

Title:
  gnome-settings-daemon is polling for seemingly no good reason at all

Status in The Ubuntu Power Consumption Project:
  New
Status in “fontconfig” package in Ubuntu:
  New
Status in “gnome-settings-daemon” package in Ubuntu:
  Confirmed

Bug description:
  One of the threads in gnome-settings-deamon is polling every 4 seconds
  trying to add a watch onto a non-existent directory
  /usr/X11R6/lib/X11:

  inotify_add_watch(16, "/usr/X11R6/lib/X11", 
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=17, events=POLLIN}, {fd=16, events=POLLIN}], 2, 3999) = 0 (Timeout)
  inotify_add_watch(16, "/usr/X11R6/lib/X11", 
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=17, events=POLLIN}, {fd=16, events=POLLIN}], 2, 3996) = 0 (Timeout)
  inotify_add_watch(16, "/usr/X11R6/lib/X11", 
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=17, events=POLLIN}, {fd=16, events=POLLIN}], 2, 3999) = 0 (Timeout)
  inotify_add_watch(16, "/usr/X11R6/lib/X11", 
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=17, events=POLLIN}, {fd=16, events=POLLIN}], 2, 3996) = 0 (Timeout)
  inotify_add_watch(16, "/usr/X11R6/lib/X11", 
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=17, events=POLLIN}, {fd=16, events=POLLIN}], 2, 3998) = 0 (Timeout)
  inotify_add_watch(16, "/usr/X11R6/lib/X11", 
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)

  is that intentional, or a bug?  As it stands, it's causing some
  wakeups that seem unnecessary and this is keeping the system from deep
  C state idle, which is wasting power.

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

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to