-
Notifications
You must be signed in to change notification settings - Fork 159
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
bug: pthread_create failed: Resource temporarily unavailable #711
Comments
Hi, could you share the flags/config file you're running bazel-remote with? Is this the entire crash output? |
I hit this as well on OSX ARM64 Flags
LogsI can't post the full logs because they're 45M. The stacktrace contains the stacktrace of 32k goroutines.
Some example traces are:
And
|
@DolceTriade: thanks for the extra details. 32k goroutines sounds quite high for a 5G cache, what kind of hardware are you using? Do you have a lot of users/a lot of incoming requests? |
I'm running this solo on my regular M1 Mac laptop for testing purposes. I'm basically just building my company's bazel repository. After investigating, I think it uploads a lot of Python files very quickly which causes this huge spike in uploads. I haven't tried this yet, but I suspect that if I rate limit uploads using |
I can report that passing in My testing command was:
|
Running into this issue consistently on macOS. Is there some configuration I should set to make it work correctly? I'm not seeing this error with the docker image.
The text was updated successfully, but these errors were encountered: