Skip to content
This repository was archived by the owner on Jun 11, 2025. It is now read-only.

False positives in container_ooms metricΒ #26

@vogre

Description

@vogre

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions