Salt Master servers may experience continuous swap usage alarms and high memory consumption. This issue typically occurs when pillar data fails to render correctly, causing jobs to back up and exhaust system resources. This is often linked to stale or decommissioned server references within the configuration.
Pillar data fails to render because decommissioned or unreachable servers are still referenced in the sse_settings.yaml file. When the Salt Master attempts to render pillar data for these missing references, the process fails or hangs, leading to a backlog of jobs that consume system memory and swap space.
To resolve this issue, remove stale references and refresh the Salt cache and pillar data.
sse_settings.yaml file and remove any references to decommissioned or retired servers.Force the active consolidated minion to update its grains cache:
salt '####' saltutil.refresh_grainsRemove the cached pillar and grains data for the decommissioned minion:
salt-run cache.clear_all ####Refresh the in-memory pillar data for the consolidated node:
salt '####' saltutil.refresh_pillar wait=True