Skip to content
This repository has been archived by the owner on Mar 15, 2019. It is now read-only.

Recipe which calculates free memory excludes buffers/cache #70

Open
cmilloy opened this issue Apr 8, 2016 · 0 comments
Open

Recipe which calculates free memory excludes buffers/cache #70

cmilloy opened this issue Apr 8, 2016 · 0 comments

Comments

@cmilloy
Copy link

cmilloy commented Apr 8, 2016

Hosts are being de-whitelisted because the memory considered to be "free" is under our threshold. This is problematic because there is plenty of memory in buffers and caches which could be offered by the mesos slave to run jobs.

We want to consider all memory in (free|buffer|cache) to be "free". I believe the change should go in the arguments for "sed" in satellite/satellite-slave/bin/satellite-recipes:

"free-memory") free -m | tr -s ' '| cut -d' ' -f4 | sed -n '3p'

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant