Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cmd/go: cache log grows unbounded and `go clean -cache` ignores it #31068

Closed
4a6f656c opened this issue Mar 27, 2019 · 5 comments

Comments

Projects
None yet
3 participants
@4a6f656c
Copy link
Contributor

commented Mar 27, 2019

On a go builder with limited disk, I have a ~/.cache/go-build/log file that is more than 0.5GB in size - it would appear that this log grows unbounded, which seems like a bad thing. Furthermore, go clean -cache cleans out the cache but leaves the log file around (I have a cronjob that runs go clean -cache daily since the cache also grows unbounded and fills the disk otherwise - see #29561).

@bradfitz

This comment has been minimized.

Copy link
Member

commented Mar 27, 2019

What version of Go?

I thought this was already fixed. Or we at least already had a bug open for it.

@4a6f656c

This comment has been minimized.

Copy link
Contributor Author

commented Mar 27, 2019

It's a builder, so it should be whatever it is currently building (although I guess it could also be originating from the go-bootstrap in use).

@4a6f656c

This comment has been minimized.

Copy link
Contributor Author

commented Mar 27, 2019

FWIW the go-bootstrap version is go version devel +99e4ddd053 Tue Dec 18 00:13:58 2018 +0000 openbsd/arm.

@bradfitz

This comment has been minimized.

Copy link
Member

commented Mar 27, 2019

Did you mean log.txt or actually log?

#25323 & https://go-review.googlesource.com/c/go/+/167741/

@4a6f656c

This comment has been minimized.

Copy link
Contributor Author

commented Mar 27, 2019

Sorry, log.txt - ah, excellent - I'll update the go-bootstrap and you can mark this as a duplicate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.