-
Notifications
You must be signed in to change notification settings - Fork 108
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
RuntimeError: can't start new thread #1395
Comments
I think we've seen this issue before. @adamnovak does this seem familiar? |
I think the issue I'm thinking of is DataBiosphere/toil#3573 and #462 |
Toil has been passing an @scintilla9 what is your It looks like Toil is failing to start one of its internal threads before it even gets around to making jobs that use threads. Are you running anything else on this machine that could be eating into your thread limit? Did you like start a previous Toil run and somehow leave processes running? |
Here's the information: and
I am running another catcus (an older version) on the machine locally, but I've tried stop the job and run a new cactus (latest version) in docker, the error still happened. In fact the older version does not occupy the resources, it only take 1 thread when running the process even I set Do I need to increase |
Yeah, that looks big enough. Apparently there is also a system-wide limit you can check with Do you happen to be using Docker 20.10.9 (or older)? That version causes problems when newer containers try to start threads because it doesn't know about and thus forbids some of the syscalls they try to use, and the Cactus Docker images are on Ubuntu 22.04 so they would presumably be new enough to hit that bug. |
Hi @adamnovak Thanks for reply. BTW, the multiple cores lastz only works when GPU available, right? |
I feel like multiple cores and using GPUs are independent features, but @glennhickey would know for sure. |
yes
|
Thanks for clarifying. |
Hi,
I'm trying to using the latest version of cactus (2.8.2) in docker.
At first a numpy error which was solved by using
export OMP_NUM_THREADS=1
(suggestion from bcgsc/mavis#185)Then another error came up:
My command is:
cactus ./js/ cactus.txt cactus.hal --defaultCores 40 --maxCores 40 --defaultMemory 512G --maxMemory 700G --defaultDisk 100G --maxDisk 500G --lastzCore 40 --lastzMemory 256G
Any suggestions are appreciated
The text was updated successfully, but these errors were encountered: