Conmon warnings every 30s for memory.events with rootless podman container #616
andreasjarliden
started this conversation in
General
Replies: 1 comment
-
|
Assuming we need a check if memory.events file exists before attempting to add inotify watch. When running rootless containers where the memory controller is not enabled in the user slice, the file doesn't exist and the inotify_add_watch() would fail with a warning every time. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I run a rootless podman container on OpenSUSE MicroOS. The container is working fine although I get the following warning every 30s when conmon tries to check the
memory.eventsfile for the containerThe folder exists, but not the
memory.eventsfile. I suspect this is because/sys/fs/cgroup/user.slice/cgroup.subtree_control(and below) only containspidsbut notmemorylike/sys/fs/cgroup/cgroup.subtree_controldoes.I don’t think that I do anything special when launching the container, so I’m surprised that I get these warnings. Is it correct that conmon assumes memory to be enabled for user.slice? Is it MicroOS that is unusual in this?
Beta Was this translation helpful? Give feedback.
All reactions