Skip to content

Conversation

@harshang03
Copy link

What does this PR do?

Adds open‑file backpressure and retry handling in the minion to avoid EMFILE/ENFILE under high job load. Introduces helper utilities to detect FD pressure and new minion config knobs to tune thresholds and backoff.

What issues does this PR fix or reference?

Fixes #68703

Previous Behavior

Minion could exhaust file descriptors during bursts of concurrent jobs, causing spawn failures and instability.

New Behavior

Minion delays job execution and retries process starts when open‑file pressure is high, reducing crashes and resource exhaustion.

Merge requirements satisfied?

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

Commits signed with GPG?

No

Copy link
Contributor

@dwoz dwoz left a comment

Choose a reason for hiding this comment

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

not fixed

@@ -0,0 +1,2 @@
Handle corrupted grains cache msgpack data by refreshing the cache.
Copy link
Contributor

Choose a reason for hiding this comment

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

This is the wrong changelog

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] Bug Report: Minion Instability and Resource Exhaustion under High Load

3 participants