Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 2041641

Summary: Fix inotify leak and kubelet retaining memory
Product: OpenShift Container Platform Reporter: Ryan Phillips <rphillips>
Component: NodeAssignee: Ryan Phillips <rphillips>
Node sub component: Kubelet QA Contact: Sunil Choudhary <schoudha>
Status: CLOSED ERRATA Docs Contact:
Severity: urgent    
Priority: urgent CC: aos-bugs, jdesousa, joboyer, kkarampo, nagrawal, openshift-bugs-escalate, pescorza, pibanezr, skrenger, wking
Version: 4.6   
Target Milestone: ---   
Target Release: 4.10.0   
Hardware: Unspecified   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of:
: 2044438 2060515 (view as bug list) Environment:
Last Closed: 2022-03-10 16:40:08 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2044438, 2060515    

Description Ryan Phillips 2022-01-17 23:04:21 UTC
Description of problem:

https://github.com/kubernetes/kubernetes/issues/100241

Kubelet had a memory leak where it could retain gigabytes of RAM in shared memory (via mmap and open file descriptors).

Patch: https://github.com/kubernetes/utils/pull/228

The patch checks the return code of the inotify and allows the map deletes to happen. The kubelet would skip over the map removals prior to this patch.

Version-Release number of selected component (if applicable):
4.6, 4.7, 4.8, 4.9, 4.10

How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 6 Sunil Choudhary 2022-01-27 11:25:57 UTC
This is upstream fix which is now merged. Marking it verified.

Comment 9 errata-xmlrpc 2022-03-10 16:40:08 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Moderate: OpenShift Container Platform 4.10.3 security update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2022:0056

Comment 10 Harshal Patil 2022-03-11 04:03:52 UTC
*** Bug 2040399 has been marked as a duplicate of this bug. ***