-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Large modpacks trigger a SIGABRT #45
Comments
Resolved 🚀 |
On a sidenote, I tried to reproduce the issue once on my system but I was not able to reproduce it. |
I am running on an Apple Silicon M2 Macbook Air running MacOS 13.5.1. MacOS doesn't have systemctl so here is what I think is the closest thing to what you are referring to. Oddly enough I don't think that modpack had 4096 things to download so maybe this isn't what I am looking for.
Adding print statements to the code before the fix doesn't give any more useful info. All 261 routines (there are 261 dependencies) appear to be started before it crashes. I am unfamiliar with how Go handles threads, so I can't offer any more insight into what's happening. |
Thanks for the infos, I gonna test around in a ressource constrained VM. |
Currently, large modpacks such as the Versatile v7.5 pack triggers a SIGABRT caused by the following
runtime/cgo: pthread_create failed: Resource temporarily unavailable
This is caused by the value in the --dl-threads flag not being used in the Downloader. Here is a snippet of the relevant code from main.
mrpack-install/web/download/multi.go
Lines 20 to 38 in 91991df
The text was updated successfully, but these errors were encountered: