Skip to content
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

Containerd shim: sporadic rootfs mount failures #30

Closed
akhramov opened this issue Aug 3, 2022 · 0 comments
Closed

Containerd shim: sporadic rootfs mount failures #30

akhramov opened this issue Aug 3, 2022 · 0 comments

Comments

@akhramov
Copy link
Contributor

akhramov commented Aug 3, 2022

containerd shim sporadically fails to mount the rootfs [1, 2].

The error originates within the containerd mounter during the shell command execution:

mount_nullfs: /run/containerd/io.containerd.runtime.v2.task/buildkit/nbxh1elkrwu64xuir6pmmjrtw/rootfs: Resource deadlock avoided

akhramov added a commit to akhramov/runj that referenced this issue Aug 3, 2022
…s mount

Currently, the sporadic "mount_nullfs: /path/to/rootfs: resource
deadlock avoided" error occurs during containerd shim task creation.
The exact reason for this error is unknown, but a mounter that
executes the system call instead of running a shell command seems to
fix the problem.

This change replaces the containerd's mounter with `moby/sys/mount`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant