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

[release/5.0] cgroup: fix memory leak in GetCGroupMemoryUsage #49002

Merged
merged 1 commit into from
Mar 10, 2021

Conversation

tmds
Copy link
Member

@tmds tmds commented Mar 2, 2021

Issue: #48822
Fix in main: #48911

Customer Impact

The memory usage of the application increases linearly over time (memory leak) when running on a system with cgroup enabled. Reported by customer (@gerlachch).

Testing

Add hoc testing. We do not have test infrastructure that would catch this bug currently.

Risk

Low. Very straightforward change.

Regression

Regression in .NET 5. Introduced by adding support for cgroup2 (#34334).

@jkotas jkotas changed the title cgroup: fix memory leak in GetCGroupMemoryUsage [release/5.0] cgroup: fix memory leak in GetCGroupMemoryUsage Mar 2, 2021
@jkotas jkotas requested a review from mangod9 March 2, 2021 12:37
@jeffschwMSFT jeffschwMSFT added the Servicing-consider Issue for next servicing release review label Mar 2, 2021
@jeffschwMSFT jeffschwMSFT added this to the 5.0.x milestone Mar 2, 2021
Copy link
Member

@jeffschwMSFT jeffschwMSFT left a comment

Choose a reason for hiding this comment

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

Approved. We will consider this for 5.0.x

@leecow leecow added Servicing-approved Approved for servicing release and removed Servicing-consider Issue for next servicing release review labels Mar 2, 2021
@leecow leecow modified the milestones: 5.0.x, 5.0.5 Mar 2, 2021
@Anipik
Copy link
Contributor

Anipik commented Mar 10, 2021

#48406

@Anipik
Copy link
Contributor

Anipik commented Mar 10, 2021

known crypto failures

@Anipik Anipik merged commit 4fa6dbc into dotnet:release/5.0 Mar 10, 2021
@ghost ghost locked as resolved and limited conversation to collaborators Apr 9, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-PAL-coreclr Servicing-approved Approved for servicing release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants