Closed
Bug 1004528
Opened 10 years ago
Closed 8 years ago
Keep track of storage usage with sccache
Categories
(Firefox Build System :: General, defect)
Firefox Build System
General
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: glandium, Assigned: ted)
References
(Blocks 1 open bug)
Details
The local storage support added in bug 1000718 is dumb, and only adds data to a local directory, and never purges it when that's needed.
Assignee | ||
Updated•8 years ago
|
Assignee: nobody → ted
Comment 1•8 years ago
|
||
'local storage' of the build system? or of Firefox? What are we trying to accomplish on this bug? What are the advantages of fixing this?
Comment 2•8 years ago
|
||
The cache on a local machine. We need to keep track of the size so it doesn't increase to infinity. (sccache is effectively a replacement for ccache that also supports using remote storage, namely S3)
Assignee | ||
Comment 3•8 years ago
|
||
This bug proposes implementing functionality equivalent to ccache's --max-size: https://ccache.samba.org/manual.html#_cache_size_management
Assignee | ||
Comment 4•8 years ago
|
||
I fixed this here: https://github.com/mozilla/sccache/commit/030ed02ab4de07e4e8666258fa3ddbaa2b7986bd It could stand a little more improvement, currently the disk cache size defaults to 10GB but can be controlled by an environment variable. We should store the max size in the directory so it can be set and persists, and also offer a way to set it.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Updated•6 years ago
|
Product: Core → Firefox Build System
You need to log in
before you can comment on or make changes to this bug.
Description
•