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

Address leaks in fileserver caused by git backends #60386

Merged
merged 3 commits into from
Jun 23, 2021

Conversation

dwoz
Copy link
Contributor

@dwoz dwoz commented Jun 16, 2021

What does this PR do?

At this time we do not have the ability to fix the upstream memory leaks
in the gitfs backend providers. Work around their limitations by
periodically restarting the file server update proccess. This will at
least partially address #50313

What issues does this PR fix or reference?

Fixes: #50313

Previous Behavior

File server update process would run indefinitely continuing to leak memory.

New Behavior

File server update process will restart periodically to release held memory.

Merge requirements satisfied?

[NOTICE] Bug fixes or features added to Salt require tests.

@dwoz dwoz requested a review from a team as a code owner June 16, 2021 21:07
@dwoz dwoz requested review from krionbsd and removed request for a team June 16, 2021 21:07
@dwoz dwoz force-pushed the issue/master/50313 branch from b4cbd6a to 22636ca Compare June 16, 2021 21:25
krionbsd
krionbsd previously approved these changes Jun 17, 2021
@dwoz
Copy link
Contributor Author

dwoz commented Jun 18, 2021

re-run mac

@sagetherage sagetherage added Silicon v3004.0 Release code name ZD The issue is related to a Zendesk customer support ticket. labels Jun 18, 2021
salt/master.py Outdated Show resolved Hide resolved
salt/master.py Outdated Show resolved Hide resolved
dwoz added 3 commits June 22, 2021 13:28
At this time we do not have the ability to fix the upstream memory leaks
in the gitfs backend providers. Work around their limitations by
periodically restarting the file server update proccess. This will at
least partially address saltstack#50313
@dwoz dwoz force-pushed the issue/master/50313 branch from f283b03 to 6f505af Compare June 22, 2021 20:28
@dwoz dwoz requested review from s0undt3ch and krionbsd June 22, 2021 20:28
@Ch3LL Ch3LL merged commit 3de3cf1 into saltstack:master Jun 23, 2021
@afischer-opentext-com
Copy link
Contributor

Sorry for the spamming, but a big THANKS for this!

@dwoz
Copy link
Contributor Author

dwoz commented Jul 12, 2021

I believe this should resolve most, if not all of #59360

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Silicon v3004.0 Release code name ZD The issue is related to a Zendesk customer support ticket.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

salt-master process leaks memory when running in a container
6 participants