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

@ -42,4 +42,5 @@ $solana_drone \
-l "$SOLANA_CONFIG_DIR"/leader.json -k "$SOLANA_CONFIG_PRIVATE_DIR"/mint.json \
> >($drone_logger) 2>&1 &
pid=$!
oom_score_adj "$pid" 1000
wait "$pid"