-
Notifications
You must be signed in to change notification settings - Fork 219
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
IPC namespace is different from the host #501
Comments
Hi! I don't know what is the best solution, if is better to use unlimited value or a fixed value, I think is better to support the |
This looks alright to me. I'd go with the option to disable the limit ( Still, we'll have to wait for @debarshiray to make the final call. |
Great! I'll do the PR and you give me feedback on it. |
Interesting. I thought we had a The history here is encoded in these two commits:
So, I am wondering if something changed in Podman. Anyway, I don't mind explicitly using |
I've created the #514 PR, let me know what do you thing. |
Thanks @masch! LGTM! |
I wonder if containers/podman#7109 is relevant. |
I played around with Podman 2.0.2, and Qt applications again don't work without QT_X11_NO_MITSHM. If you compare |
I'd rather we let this get fixed at the Podman level - we already have a fix, and, even better, tests to stop this from regressing again. Note that this isn't just a matter of the size of |
Thanks for noticing this, @martinpitt ! |
I think that we should have (more) tests in Toolbox that assert the various attributes of the containers. eg., in this case the IPC namespace. |
Duplicate of containers/podman#7100 |
@debarshiray : Interesting, thanks! I know that docker has always defaulted to a private separate 64 MB (by default) /dev/shm, and I just assumed that docker would do the same. So the idea is that with |
That's my understanding, yes. I think it also shares the semaphores and message queues between the host and the container, but I haven't actually tried them out. |
toolbox does not change podman's /dev/shm size default, so that stays at 64 MB:
I often run browser integration tests in toolbox, and chromium regularly crashes as it runs out of memory.
This can be controlled by
podman create --shm-size=0
(which disables the limit), or e. g.podman create --shm-size=512m
. In the spirit of toolbox I'd suggest to simply use0
as a default and not make this configurable.The text was updated successfully, but these errors were encountered: