Skip to content

Go builder caching policies might need another look #32578

Closed
@dr2chase

Description

@dr2chase

What version of Go are you using (go version)?

go version devel +9f7f82ee86 Thu May 30 17:29:58 2019 -0400 linux/amd64

Does this issue reproduce with the latest release?

Yes

What did you do?

Ran thousands of benchmarks over several days using compilebench, each with a slightly different compiler.

What did you expect to see?

Not 200 gigabytes of Go cache contents accumulated over time, completely filling the disk.

What did you see instead?

200 gigabytes of Go cache and a full disk.
go clean -cache solved the problem, but it took a few minutes, and I almost hurt myself laughing.

I realize this is not a typical use case, and I've added a preventive go clean -cache to my benchmarking script, but if there's an easy check for this we ought to do it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    FrozenDueToAgeNeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions