codesigning, the macports user (and other users added by MacPorts) and diskspace (IconServicesAgent) [was Re: lldb ...]
Jeremy Huddleston Sequoia
jeremyhu at apple.com
Mon Sep 19 03:46:32 PDT 2016
> On Sep 19, 2016, at 03:31, René J.V. Bertin <rjvbertin at gmail.com> wrote:
>
> On Monday September 19 2016 03:02:38 Jeremy Sequoia wrote:
>
>> /var/tmp definitely isn't cleared though.
>
> 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).
> Here's an example entry from macports's icon cache:
>
> %> sudo afsctool -vvv /var/folders/11/_bf842l54ngf42g66hkzslmw0000gp/C/com.apple.IconServices/FFB06CC518D1C57091BDD19F39A692B6.iscachebmp
> /var/folders/11/_bf842l54ngf42g66hkzslmw0000gp/C/com.apple.IconServices/FFB06CC518D1C57091BDD19F39A692B6.iscachebmp:
> File is HFS+ compressed.
> File content type: dyn.age80w65dqfv0u3pcrz2a
> File size (uncompressed data fork; reported size by Mac OS 10.6+ Finder): 4194304 bytes / 4.2 MB (megabytes) / 4 MiB (mebibytes)
> File size (compressed data fork - decmpfs xattr; reported size by Mac OS 10.0-10.5 Finder): 112916 bytes / 115 KB (kilobytes) / 112 KiB (kibibytes)
> File size (compressed data fork): 112932 bytes / 115 KB (kilobytes) / 112 KiB (kibibytes)
> Compression savings: 97.3%
> Number of extended attributes: 0
> Total size of extended attribute data: 0 bytes
> Approximate overhead of extended attributes: 536 bytes
> Approximate total file size (compressed data fork + EA + EA overhead + file overhead): 115488 bytes / 115 KB (kilobytes) / 113 KiB (kibibytes)
>
> There are a number of files of the same size, plus many smaller. I have no idea how I can map this to an actual icon though.
>
>
>>> Even if keeping track of who's entitled to access which bits of cached icon info the cache agent could prune the cache, removing everything that hasn't been accessed for more than a reasonably long time.
>>
>> Again, I think you are seeing something anomalous. You should investigate before jumping to conclusions.
>
> 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.
# du -scm /private/var/folders/*/*/*/com.apple.iconservices
6 /private/var/folders/c1/7p4m5bx904392j49x1w2vyxh0000gn/C/com.apple.iconservices
1 /private/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/C/com.apple.iconservices
1 /private/var/folders/zz/zyxvpxvq6csfxvn_n00000z000007r/C/com.apple.iconservices
6 total
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4465 bytes
Desc: not available
URL: <https://lists.macosforge.org/pipermail/macports-dev/attachments/20160919/174e7eda/attachment-0001.p7s>
More information about the macports-dev
mailing list