Adjust fullnode/drone oom_score_adj to goad the kernel into killing it first

This commit is contained in:
Michael Vines
2018-08-07 10:23:38 -07:00
parent 16772d3d51
commit 0ee935dd72
4 changed files with 18 additions and 0 deletions

View File

@ -108,4 +108,5 @@ $program \
--ledger "$SOLANA_LEADER_CONFIG_DIR"/ledger \
> >($validator_logger) 2>&1 &
pid=$!
oom_score_adj "$pid" 1000
wait "$pid"