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

False positives in container_ooms metric #26

Open
vogre opened this issue Aug 7, 2023 · 0 comments
Open

False positives in container_ooms metric #26

vogre opened this issue Aug 7, 2023 · 0 comments

Comments

@vogre
Copy link

vogre commented Aug 7, 2023

Hello!

We are observing what looks like a flood of container_ooms on many containers, which on inspection, mostly appear without restarts / OOMs.

This seems to be caused by a single container receiving an OOM which triggers an eviction

eviction_manager.go:367] "Eviction manager: pods ranked for eviction[...list of pods...]" 

which is associated with many logs of

containerd[1320]: "TaskOOM event &TaskOOM{ContainerID:dd7ba888c8eb849fbffeb5da01bb8cf1034264757d3dff5d7d7815d4c4671200,XXX_unrecognized:[],}"
...

Guessing this could be related to containerd/containerd#7102

From https://pkg.go.dev/github.com/containerd/containerd/api/events?utm_source=godoc#TaskOOM it doesn't look like there's a way to distinguish between false and true TaskOOM eventss.

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