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
Closed

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

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

Comments

@4a6f656c
Copy link
Contributor

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
Copy link
Contributor

What version of Go?

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

@4a6f656c
Copy link
Contributor Author

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
Copy link
Contributor Author

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

@bradfitz
Copy link
Contributor

Did you mean log.txt or actually log?

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

@4a6f656c
Copy link
Contributor Author

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

@golang golang locked and limited conversation to collaborators Mar 26, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants