-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Regularly get "Disk quota exceeded: OCI runtime error" when running a container #23784
Comments
Can you check |
After restarting my Podman Machine:
|
Same issue here. |
Some users faced the problem already and reported it on Podman-desktop repo. |
For now doing this took care of it. "podman machine ssh |
I took a closer look, it seems to be somehow related to podman-remote I think, wehn I ssh into the mahcine and run the podman command there it only creates one keyring and on exit removes again which is expected. And even worse it is not related to containers at all, just running podman-remote ps already leaks a keyring entry, so it must be something with the ssh connection we are using not with the actual commands. |
The problem is all the sshd server processes are leaked on the server because the connections are not properly closed, this is due a gvproxy bug: #23616. Fortunately that one has been already fixed so we "only" need a new release with new installers build that include the new gvproxy version 0.7.5, so for the time being you could manually replace the gvproxy binary with a good one and podman machine stop && podman machine start which should make it work. |
I have just updated to gvproxy 0.7.5 on the macOS host, and that seems to have fixed the issue for me. Thank you @Luap99 |
Issue Description
Podman on macOS generally works really well, but every day or so, it stops being able to create new containers, and I get the following error:
$ podman run --rm -ti registry.access.redhat.com/ubi9/ubi bash Error: preparing container 1e42b038e9ac2d1544a2facd7285ef947c00bf102469f1270e628d6472a7b3a3 for attach: crun: create keyring `1e42b038e9ac2d1544a2facd7285ef947c00bf102469f1270e628d6472a7b3a3`: Disk quota exceeded: OCI runtime error
Steps to reproduce the issue
Steps to reproduce the issue
podman run --rm -ti registry.access.redhat.com/ubi9/ubi bash
Describe the results you received
Error: preparing container 1e42b038e9ac2d1544a2facd7285ef947c00bf102469f1270e628d6472a7b3a3 for attach: crun: create keyring
1e42b038e9ac2d1544a2facd7285ef947c00bf102469f1270e628d6472a7b3a3
: Disk quota exceeded: OCI runtime errorDescribe the results you expected
No error
podman info output
Podman in a container
No
Privileged Or Rootless
Rootless
Upstream Latest Release
Yes
Additional environment details
I have tried adding the following config, but it doesn't seem to fix the issue.
Additional information
Works fine for a day or so, then fails. Has happened on the last few fix packs for Podman 5.2.
Increasing the
/proc/sys/kernel/keys/maxkeys
setting as suggested in #13363 gives temporary respite, but quickly fills up again. I'm not running hundreds of containers a day, so not sure what's creating all these keys.The text was updated successfully, but these errors were encountered: