Feature Request: make _has_memory_headroom function more configurable #69732
do3meli
started this conversation in
Feature Requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
The function
_has_memory_headroomis actually checking if the system has less than 95% of the total memory available free. If so it will returntrueand otherwise it will returnfalse:salt/salt/minion.py
Lines 2110 to 2116 in 24a4cfa
The problem with this is, that salt-minion jobs get queued up on nodes that have a huge amount of memory still free. Let's say you have 2TB memory nodes. 5% memory headroom on such a system would be 102.4 GB. I guess that should be more than enough for salt ;-) Therefore i suggest to have the following to adjustments:
Beta Was this translation helpful? Give feedback.
All reactions