codesigning, the macports user (and other users added by MacPorts) and diskspace (IconServicesAgent) [was Re: lldb ...]

René J.V. Bertin rjvbertin at gmail.com
Mon Sep 19 04:18:59 PDT 2016


On Monday September 19 2016 03:46:32 Jeremy Huddleston Sequoia wrote:

> > TMPDIR points into /var/folders.
> 
> Yes, and it looks like those do get cleared out on boot.
> 
> Note, however, that this particular case relates to the cache dir, not tmp (C, not T).

Oh, right, but there are icon caches in both C and T dirs:

{{{
%> sudo sh -c "du -hcs /var/folders/*/*/*/com.apple.IconServices"
 81M    /var/folders/11/_bf842l54ngf42g66hkzslmw0000gp/C/com.apple.IconServices
264K    /var/folders/11/_bf842l54ngf42g66hkzslmw0000gp/T/com.apple.IconServices
 82M    /var/folders/99/yvy25dd94jn_ykbfkf1q4mzw0000gw/C/com.apple.IconServices
 88M    /var/folders/gf/wmgp2zv506dcsg7_cjxx69m40000gr/C/com.apple.IconServices
234M    /var/folders/j1/1439ppj08xj8h6006s6drbq00000gs/C/com.apple.IconServices
 11M    /var/folders/j1/1439ppj08xj8h6006s6drbq00000gs/T/com.apple.IconServices
 80M    /var/folders/sd/pwbxpphw8xj3vb006s6drbq00000gn/C/com.apple.IconServices
264K    /var/folders/sd/pwbxpphw8xj3vb006s6drbq00000gn/T/com.apple.IconServices
 12K    /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/C/com.apple.IconServices
  0B    /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/com.apple.IconServices
 12K    /var/folders/zz/zyxvpxvq6csfxvn_n00000bh00002w/C/com.apple.IconServices
  0B    /var/folders/zz/zyxvpxvq6csfxvn_n00000bh00002w/T/com.apple.IconServices
577M    total
}}}

Those are compressed sizes; uncompressed they take about 5.5Gb .


> > How large is your own icon cache directory? And asking here is me investigating. I wouldn't really know where else to ask, Apple's support/discussions forum? Doesn't seem like the most appropriate place to discuss this kind of thing :)
> 
> 6 MB for me.  1MB each for two others.

Right, looks like something isn't right - or something was changed significantly since 10.9. 

I do have a 277Mb large /opt/local/share/icons, but those shouldn't be picked up by Apple's IconServices (only a few icon theme directories have ever been opened in the Finder, and only by me, not any of the other users with big icon caches.

R.


More information about the macports-dev mailing list