-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Issue allocating threads on 3.10.11-slim vs 3.10.12-slim #835
Comments
I also noticed this issue, so far I learned that it's happening when using the debian 12 (bookworm) based image, which the slim defaults to. |
I'm seeing the same problem on 3.10. Also looks like it's caused by the Bullseye -> Bookworm swap on the default. Also fixed by explicitly pinning to Bullseye. |
Do you have any ideas why this only happens in some environments and not others? Seems to be only on one of my specific aws VMs and not present on others nor mac for desktop. |
can confirm similar issue on 3.11.4-slim (bookworm) doing a pip install tox got me the following stacktrace
|
From #837 (comment):
If you are having issues with the new |
Okay so @yosifkit is correct in that a newer version of libseccomp seems to be causing the issue (I have literally no idea what that library does.) In the example above, the reading issue was only present on one of the ec2 instances (A) and not present on the second (B). I checked the versions on each of the servers: A: I updated server A (the one with the issues) to use the same version as B, and the threading issue inside the bookworm container was gone. I'm curious to know why libseccomp is the issue and how reverting a version made a difference? Does anyone have the time to explain that to me? |
|
Please tell me that's not Ubuntu 16.04 I see in those package versions? 😬 🙈 |
why |
Ubuntu 16.04 is quite old at this point, and unless you're paying Canonical for their ESM, has been EOL for ~2 years. 😬 (In general, expecting newer distributions to run successfully on top of older distributions is going to continue to have this problem over time as new kernel system calls are created and start to be used, which is the root of this particular failure to run.) |
This comment was marked as duplicate.
This comment was marked as duplicate.
We have users experiencing this on Ubuntu 22.04, so Im not sure it's limited to older distros. (I personally cannot re-create this but we have multiple reports of it) |
|
docker version: 19.03.8 |
I can reproduce this issue with podman, however not using the slim images, but the normal ones:
max user processes is set to 30842 |
|
Hey everyone, thanks for taking the time to review this issue, I'm really stuck with how to debug an issue with have with the docker images: 3.10.11-slim and 3.10.12-slim.
Inside the python3.10.11-slim image, I can easily start a thread, for example:
However, when running the same code inside the python 3.10.12-slim image, I get the following error:
Thread availability on the server seem to not be the problem, at least as far as I can tell
Stack overflow says this is how many threads are running
It may also be useful to note that this is only happening on one of my servers (ec2 in aws) and does not happen on other servers (same version of ubuntu/docker, and on my local, docker for mac).
Lastly, the version of Docker that's on all the servers are
20.10.7
and the version of ubuntu is16.04.6
)Any ideas would be greatly appreciated!
The text was updated successfully, but these errors were encountered: