containerd / containerd/cgroups
cgroup v2 use unix.InotifyInit() to monitor oom cause too many open files
Open
- Dominant language
- Go
- Stars
- 1.2k
- Forks
- 252
- PR merge metrics
- No merged PRs in 30d
Description
cgroup v2 use unix.InotifyInit() to monitor oom,wil cause too many open files, because every container will create an inotify instance
see:https://github.com/containerd/containerd/issues/10468#issuecomment-2747079482
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reading the linked containerd issue comment and tracing cgroup v2 OOM monitoring around unix.InotifyInit(). Confirm how each container creates an inotify instance and reproduce the resulting “too many open files” condition. Done means OOM monitoring no longer exhausts file descriptors when multiple containers are used.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go, linux
- Domain
- operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100