Ensure nofiles is not capped at 1024 on a node reboot

This commit is contained in:
Michael Vines 2019-10-28 23:16:55 -07:00
parent 1e2ab89b47
commit d952b38f93
No known key found for this signature in database
GPG Key ID: 33F4FDEC4E0E88BD
1 changed files with 2 additions and 0 deletions

View File

@ -672,6 +672,8 @@ if [[ -f /solana-scratch/.instance-startup-complete ]]; then
if [[ -n $validatorAdditionalDiskSizeInGb ]]; then
cat mount-additional-disk.sh
fi
cat ../../scripts/ulimit-n.sh
)
if [[ -x ~solana/solana/on-reboot ]]; then
sudo -u solana ~solana/solana/on-reboot