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

Do not store whole container env. in the reporting worker forever #14807

Merged
merged 1 commit into from
Apr 20, 2017

Conversation

isimluk
Copy link
Member

@isimluk isimluk commented Apr 19, 2017

In big openshift environments do not use Class variables to store whole environment forever. Plugs memory leak.

https://bugzilla.redhat.com/show_bug.cgi?id=1443606

Copy link
Member

@gtanzillo gtanzillo left a comment

Choose a reason for hiding this comment

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

👍 Looks good

@isimluk isimluk changed the title Containers: do not store all the env. in the reporting worker forever Do not store whole container env. in the reporting worker forever Apr 19, 2017
@miq-bot
Copy link
Member

miq-bot commented Apr 19, 2017

This pull request is not mergeable. Please rebase and repush.

In big openshift environments do not use Class variables to store whole
environemnt forever.

Ugly but it plugs memory leak.
@isimluk isimluk force-pushed the cb-container-performance-memory branch from 0e506da to 0114f3d Compare April 19, 2017 14:30
@miq-bot
Copy link
Member

miq-bot commented Apr 19, 2017

Checked commit isimluk@0114f3d with ruby 2.2.6, rubocop 0.47.1, and haml-lint 0.20.0
2 files checked, 0 offenses detected
Everything looks good. 👍

@isimluk
Copy link
Member Author

isimluk commented Apr 19, 2017

@gtanzillo improved the patch a little bit and added bz.

@gtanzillo gtanzillo added this to the Sprint 59 Ending Apr 24, 2017 milestone Apr 20, 2017
@gtanzillo gtanzillo merged commit 45ac9b6 into ManageIQ:master Apr 20, 2017
@isimluk isimluk deleted the cb-container-performance-memory branch April 20, 2017 09:43
simaishi pushed a commit that referenced this pull request Apr 20, 2017
Do not store whole container env. in the reporting worker forever
(cherry picked from commit 45ac9b6)

https://bugzilla.redhat.com/show_bug.cgi?id=1444050
@simaishi
Copy link
Contributor

Fine backport details:

$ git log -1
commit 521eb1dfa345d902f2668b26d9db6ac7c761cbe8
Author: Gregg Tanzillo <[email protected]>
Date:   Thu Apr 20 10:19:27 2017 +0200

    Merge pull request #14807 from isimluk/cb-container-performance-memory
    
    Do not store whole container env. in the reporting worker forever
    (cherry picked from commit 45ac9b673d289df65515a257804672233a2d57ac)
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1444050

simaishi pushed a commit that referenced this pull request Apr 26, 2017
Do not store whole container env. in the reporting worker forever
(cherry picked from commit 45ac9b6)

https://bugzilla.redhat.com/show_bug.cgi?id=1444052
@simaishi
Copy link
Contributor

Euwe backport details:

$ git log -1
commit 1ea01612ba7b446caeaf43087565eacd851a6536
Author: Gregg Tanzillo <[email protected]>
Date:   Thu Apr 20 10:19:27 2017 +0200

    Merge pull request #14807 from isimluk/cb-container-performance-memory
    
    Do not store whole container env. in the reporting worker forever
    (cherry picked from commit 45ac9b673d289df65515a257804672233a2d57ac)
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1444052

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants