huly-selfhost icon indicating copy to clipboard operation
huly-selfhost copied to clipboard

Rekoni container lacks support for Cgroups V2

Open vlude opened this issue 1 year ago • 3 comments

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.

vlude avatar Oct 20 '24 15:10 vlude

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

aonnikov avatar Oct 31 '24 18:10 aonnikov

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

vlude avatar Oct 31 '24 18:10 vlude

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

aonnikov avatar Nov 01 '24 03:11 aonnikov