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

[3006.x] Restart maintenance process periodically. #63941

Closed
wants to merge 4 commits into from

Conversation

dwoz
Copy link
Contributor

@dwoz dwoz commented Mar 24, 2023

Unfortunatly pygit2 still has enough memory leaks that we can't use it in long running processes. Restart the maintenance process peridically to clean up the memory consumed by pygit, and others.

Add fileserver_interval and maintenance_interval to configure how often these processes restart.

What does this PR do?

What issues does this PR fix or reference?

Fixes: #63747

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 March 24, 2023 00:26
@dwoz dwoz requested review from cmcmarrow and removed request for a team March 24, 2023 00:26
@dwoz dwoz changed the title [WIP] Restart maintenance process periodically. Restart maintenance process periodically. Mar 25, 2023
@dwoz dwoz changed the title Restart maintenance process periodically. [3006.0rc3] Restart maintenance process periodically. Mar 25, 2023
@dwoz dwoz changed the title [3006.0rc3] Restart maintenance process periodically. [3006.x] Restart maintenance process periodically. Mar 25, 2023
dwoz added 3 commits March 28, 2023 17:31
Unfortunatly pygit2 still has enough memory leaks that we can't use it
in long running processes. Restart the maintenance process peridically
to clean up the memory consumed by pygit, and others.

Add fileserver_interval and maintenance_interval to configure how often
these processes restart.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] Maintenance process leaking memory in 3005.1 [BUG] After Upgrading, Windows Minion RAM Usage 7GB+
3 participants