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

Rekoni container lacks support for Cgroups V2 #78

Open
vlude opened this issue Oct 20, 2024 · 3 comments
Open

Rekoni container lacks support for Cgroups V2 #78

vlude opened this issue Oct 20, 2024 · 3 comments
Assignees

Comments

@vlude
Copy link

vlude commented Oct 20, 2024

Running the traefik based stack results in the following error:

rekoni Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. 0.0s
Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: error setting cgroup config for procHooks process: openat2 /sys/fs/cgroup/docker/4ce536b99bbb24431dc1c6d9425fd245716ec357b0fce971fcbdd2ec76831c26/memory.max: no such file or directory: unknown

All other container start fine, but the Rekoni one doesn't. Some googling resulted in the lack of support of Cgroups V2 as the memory.max attribute is only present in Cgroups v1. Comparable errors seem to be solved when downgrading Cgroups to V1: https://forum.proxmox.com/threads/lxc-container-memory-current-no-such-file-or-directory.130428/

For me, however, that is not an option, because I utilize V2 exclusive functions.

@aonnikov aonnikov self-assigned this Oct 21, 2024
@aonnikov
Copy link
Member

@vlude just drop the rekoni container and remove it from the configuration

@vlude
Copy link
Author

vlude commented Oct 31, 2024

Hey, Thanks for responding. Just out of curiosity: what does the rekoni service do? Do I miss functionality by not running it?

@aonnikov
Copy link
Member

aonnikov commented Nov 1, 2024

@vlude it supposed to be used for CV parsing, very specific use case. Currently there are modern tools that do this job much better.

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

2 participants