-
Notifications
You must be signed in to change notification settings - Fork 17.9k
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/compile: "too many open files in system" on macos Ventura #54833
Comments
cc @golang/compiler Please provide a full reproducer, log, and the output of |
Here go env output:
|
Timed out in state WaitingForInfo. Closing. (I am just a bot, though. Please speak up if this is a mistake or you have the requested information.) |
i meet the same problem with go version 1.19.2 |
I solved by remove
|
Solved a similar issue for me. |
Same issue here, and same fix:
This sounds like a classic case of not closing a file somewhere? |
@alecthomas Can you provide the |
For sure. I'm a bit annoyed that I didn't take a backup of the GOCACHE directory.
|
An extra bit of potentially useful information is that it would always report this error on the exact same directory ( |
I note that the reports that provide the information are all darwin/arm64. Is anybody seeing this problem on a different system? |
I just ran into it on darwin/amd64. |
ran into this on darwin/amd64 too, when my autogeneration failed midway. Likewise, go clean -cache fixed it. My ulimit was originally at 256 but the problem persisted even after raising it to 10,000. Am also on macos ventura. |
Also ran into this on darwin/amd64. I saw the error after I updated to Sonoma 14.4.1. |
It's work for me |
I'm running macOS Ventura and update to the latest beta build to test with Go 1.19. There could be a bug in Go reading files which might be affected when macOS Ventura is release to the public. Go 1.18.5 is working fine.
What version of Go are you using (
go version
)?go version go1.19 darwin/arm64
Does this issue reproduce with the latest release?
Yes, 1.19
What operating system and processor architecture are you using (
go env
)?macOS Ventura, M1 (arm)
What did you do?
Compiling a simple Go project and I get "too many open files in system".
What did you expect to see?
Able to compile as Go 1.18.5 which is working fine without error.
What did you see instead?
"... too many open files in system" appear in the terminal when ran "go build ." command.
The text was updated successfully, but these errors were encountered: