Salt-minions agent has known memory leak which may trigger OOM killer
book
Article ID: 378306
calendar_today
Updated On:
Products
VMware Aria Suite
Issue/Introduction
Over time, because of a memory leak in the salt-minion, the amount of memory used by the salt-minion can increase to the point where the Linux OMM killer can start killing processes on the system leading to the system and the minion becoming inoperable.
Environment
Salt-minions 3006.5 Linux platform
Resolution
Upgrade your salt-minion to at least 3006.8 should resolve this issue
Adding the following values to the /usr/lib/systemd/system/salt-minion.service file will not allow the salt-minion to over consume memory
memoryhigh
memorymax
For more information on configuring the salt-minion systemd settings https://www.freedesktop.org/software/systemd/man/latest/systemd.resource-control.html