The issue is coming from the xsettings code, it has a loop doing
" while ((str = (const char *) FcStrListNext (list))) {
...
file = g_file_new_for_path (str);
monitor = g_file_monitor (file, G_FILE_MONITOR_NONE, NULL,
NULL);
"
That lists includes /usr/X11R6/lib/X11/fonts, we should probably just
don't monitor non existing directories (that means that if they get
created the system is not going to pick them up, but that seems unlikely
to happen anyway, or not frequently enough that it would be an important
issue)
** Changed in: gnome-settings-daemon (Ubuntu)
Importance: Undecided => Low
** Changed in: gnome-settings-daemon (Ubuntu)
Status: Incomplete => Confirmed
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gnome-settings-daemon 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 “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 : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help : https://help.launchpad.net/ListHelp