Skip to content

Address leaks in fileserver caused by git backends - #60386

Merged
Ch3LL merged 3 commits into
saltstack:masterfrom
dwoz:issue/master/50313
Jun 23, 2021
Merged

Ch3LL merged 3 commits into
saltstack:masterfrom
dwoz:issue/master/50313

Conversation

@dwoz

@dwoz dwoz commented Jun 16, 2021

Copy link
Copy Markdown
Contributor

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

dwoz commented Jun 18, 2021

Copy link
Copy Markdown
Contributor Author

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
Comment thread salt/master.py Resolved
Comment thread salt/master.py 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 krionbsd and s0undt3ch June 22, 2021 20:28
@Ch3LL
Ch3LL merged commit 3de3cf1 into saltstack:master Jun 23, 2021
@ghost

ghost commented Jun 23, 2021

Copy link
Copy Markdown

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

@dwoz

dwoz commented Jul 12, 2021

Copy link
Copy Markdown
Contributor Author

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

5 participants