gdk-pixbuf is stat stat stat stating my files

Rudy Rucker crapsh at
Fri Jun 29 08:55:01 UTC 2007

My desktop is REAL slow.

Here is an example that something is awry.. if I run
 # truss -o /tmp/truss xfce4-tips
and click CLOSE immediately when the window is launched (it takes about 
60 seconds) the truss file is large (76MB):
 # ls -s /tmp/truss
  76128 /tmp/truss
 # grep -c '/usr/local/share/icons/gnome' /tmp/truss
 # find /usr/local/share/icons/gnome | wc -l
 # grep 
/tmp/truss | grep volume-min | wc -l

Things seem to go ape shit after this line in the truss output:
 open("/usr/local/etc/gtk-2.0/gdk-pixbuf.loaders",O_RDONLY,00) = 5 (0x5)

So, here are the questions:
 why does gdk-pixbuf have to stat every icon 125 times for a total of 
500,000+ stats just to launch one little window?

I can repeat the process with 'Terminal' and other programs...

System info
FreeBSD 6.2-STABLE FreeBSD 6.2-STABLE i386 
(running on an AMD)

THanks for any tips... running cvsup right now and attempting to upgrade 
(if possible) pixbuf

More information about the freebsd-questions mailing list