Skip to content

[release/1.3 backport] eventfd leak#3961

Merged
estesp merged 3 commits intocontainerd:release/1.3from
sethp-nr:fix/eventfd-leak-1.3-backport
Jan 15, 2020
Merged

[release/1.3 backport] eventfd leak#3961
estesp merged 3 commits intocontainerd:release/1.3from
sethp-nr:fix/eventfd-leak-1.3-backport

Conversation

@sethp-nr
Copy link
Copy Markdown
Contributor

Only start watching the cgroup for OOMs when the first process starts
instead of on every process.

Signed-off-by: Seth Pellegrino <spellegrino@newrelic.com>
There's no OOM monitoring for the v2 cgroups yet, so it seems unlikely
that there was a leak in that case.

Signed-off-by: Seth Pellegrino <spellegrino@newrelic.com>
@sethp-nr sethp-nr mentioned this pull request Jan 14, 2020
@sethp-nr
Copy link
Copy Markdown
Contributor Author

@AkihiroSuda Will there be a minor version released with this fix once we merge the PR?

@theopenlab-ci
Copy link
Copy Markdown

theopenlab-ci bot commented Jan 14, 2020

Build succeeded.

Copy link
Copy Markdown
Member

@estesp estesp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Copy Markdown
Member

@AkihiroSuda AkihiroSuda left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks

cc @dmcgowan for release

@AkihiroSuda
Copy link
Copy Markdown
Member

CI failing 🤔

time="2020-01-15T01:02:15.565237212Z" level=error msg="RunPodSandbox for &PodSandboxMetadata{Name:create-PodSandbox-for-container-aa5209af-3732-11ea-b817-42010a140045,Uid:cri-test-uidaa5209c6-3732-11ea-b817-42010a140045,Namespace:cri-test-namespaceaa5209ce-3732-11ea-b817-42010a140045,Attempt:2,} failed, error" error="failed to create containerd task: runtime \"io.containerd.runc.v1\" binary not installed \"containerd-shim-runc-v1\": file does not exist: unknown"

}
switch r.ExecID {
case "":
if err := s.ep.Add(container.ID, cg); err != nil {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CI failed, it's undeclared name: cg

s.ep.Add(container.ID, container.Cgroup());

@theopenlab-ci
Copy link
Copy Markdown

theopenlab-ci bot commented Jan 15, 2020

Build succeeded.

Signed-off-by: Seth Pellegrino <spellegrino@newrelic.com>
@sethp-nr sethp-nr force-pushed the fix/eventfd-leak-1.3-backport branch from f185234 to 03ee836 Compare January 15, 2020 17:33
@theopenlab-ci
Copy link
Copy Markdown

theopenlab-ci bot commented Jan 15, 2020

Build succeeded.

Copy link
Copy Markdown
Member

@estesp estesp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

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

Successfully merging this pull request may close these issues.

4 participants