-
Notifications
You must be signed in to change notification settings - Fork 2
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
Unable to start due to thread error #16
Comments
" RuntimeError: can't start new thread" does seem to be a system error, rather than a problem with this code. More people using docker and python threads seem to experience this issue. Maybe the solution is among the replies to the thread here on SO? https://stackoverflow.com/questions/70087344/python-in-docker-runtimeerror-cant-start-new-thread |
Hi, I was about to post the same. Any solution to run this on arm/arm64? |
How can this be closed without a fix? |
First of all its not closed. Anyway when I have some time I'll go and see if my system is also affected if i rebuild the docker images with latest python base |
Sorry: I saw the "mentioned" appear while writing... The problem is Docker compatibility with the base image (according to this thread). |
I think unless you rebuild your local image, you won't be affected |
One more note: after rebuilding the image on my raspberry, it now works perfectly (without Thanks for the amazing work and the quick responses! |
So I've checked if this is an issue I can reproduce, but I didn't get any issues. I think it might be something local to your OS/docker version. Pinning the docker repo version to bullseye doesn't seem like the best solution to me since bullseye will be end of support in '26. Probably better to set the privileged workaround on affected systems until the underlying issue is solved. Let's keep this issue open to see if others are affected. (I'd like to hear from them if they are) The cmd's below seem to completely rebuild (i watched the apt processes scroll by and it took some 23secs on my system)
|
Also, It'd probably be a good idea to find out how to publish ARM packages or docker builds tagged for bullseye specific version if more people are affected. For now though they need to locally build the dockerfile as I'm lacking the time to set allt hat up. |
Hi, I just cloned the repo, customized
docker-compose.yaml
and tried adocker-compose up
, but this fails with this error:From the Python threads I found this could be related to too many threads running, but I think there is only one in my case...
I also tried on a Raspberry Pi (which would be my preferred way to keep the container running), but it didn't start with this error:
Is there a way to have either one to start?
I removed all containers except the pvfusionsolar one, since I only want to publish to pvoutput.org
I changed the folloving variables:
https://uni004eu5.fusionsolar.huawei.com/pvmswebsite/nologin/assets/build/cloud.html#/kiosk?kk=
for me)Thanks in any case!
The text was updated successfully, but these errors were encountered: