Re: ccache max-size and on-disk disparity

From: Stefan Ehmann <shoesoft_at_gmx.net>
Date: Sun, 19 Jun 2022 22:08:24 UTC
On Sunday, June 19, 2022 9:42:30 PM CEST Jonathan Chen wrote:
> Hi,
>
> I use devel/ccache for (internal) ports building, and noticed that the
> reported disk usage didn't quite match what was configured. I had a
> max-cache size of 10Gb, but  the on-disk usage was reporting 130+Gb. I
> assumed that I had a corrupted cache, and cleared out the cache (rm -r
> /var/cache/ccache). However, after rebuilding some ports, I see the
> following:
> [...]

Yes, see https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=261705

From the comments, it's not clear yet, what's causing this. May be related to
ZFS.

I run "ccache -c" from time to time as workaround.