The attached patch checks if max_age and max_size are both -1, ie thumbnail cleaning is disabled, before scanning the thumbnail dirs. This enables the performance hit to be removed through a simple configuration option.
Please apply this patch in ubuntu, it doesn't really fix the problem, but at least allows it to be disabled easily, without disabling the entire housekeeping process. I've also submitted it upstream, where it will probably gather dust for years. ** Patch added: "patch to properly allow disabling of thumbnail cache cleaning" https://bugs.launchpad.net/ubuntu/+source/gnome-settings-daemon/+bug/505085/+attachment/3851165/+files/housekeeping_fix_disabling_thumbnail_scan.diff -- 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/505085 Title: gnome-settings-daemon extensive disk usage Status in Gnome Settings Daemon: Confirmed Status in One Hundred Paper Cuts: Invalid Status in “gnome-settings-daemon” package in Ubuntu: Triaged Bug description: Binary package hint: gnome-settings-daemon Upon login to Gnome and waking up the laptop from sleep the gnome-settings-daemon is extensively reading something from the hard disk. I watched it by iotop, tried to figure out what does it open by lsof and readahead-watch, but I only found some screensaver files and gnome-libs. I have no clue what is it looking for. It's really frustrating when I have 10 minutes in the morning to read my emails and I have to wait 5-6 minutes for gnome-settings-daemon to finish it's something before I get use my computer normally (normally means that I can launch programs in a sensible time). If I kill gnome-settings-daemon, of course the problem is gone so as my gnome theme making it a not really working workaround. The problem also existed on Jaunty, now on Karmic too, how could I track it down and find out what causes this behaviour? ProblemType: Bug Architecture: amd64 Date: Sat Jan 9 09:55:17 2010 DistroRelease: Ubuntu 9.10 Package: gnome-settings-daemon 2.28.1-0ubuntu2 ProcEnviron: LANGUAGE=en_US.UTF-8 PATH=(custom, user) LANG=en_US.UTF-8 SHELL=/bin/bash ProcVersionSignature: Ubuntu 2.6.31-16.53-generic SourcePackage: gnome-settings-daemon Uname: Linux 2.6.31-16-generic x86_64 To manage notifications about this bug go to: https://bugs.launchpad.net/gnome-settings-daemon/+bug/505085/+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

