Skip to content

Commit

Permalink
artifact/setup-all.sh: disable sysctl check
Browse files Browse the repository at this point in the history
sysctl is a sudoer binary,
VM has been tweaked correspondingly
  • Loading branch information
Antonin Reitz committed Jul 5, 2024
1 parent ed0824d commit 6ab13f9
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions setup-all.sh
Original file line number Diff line number Diff line change
Expand Up @@ -48,12 +48,12 @@ setup() {
echo "Required Debian packages are installed"
fi

if [[ "$(sysctl -n vm.max_map_count)" -lt 1048576 ]]; then
echo "sysctl vm.max_map_count < 1048576, not OK, please fix it, exiting"
exit 1
else
echo "sysctl vm.max_map_count >= 1048576, OK"
fi
#if [[ "$(sysctl -n vm.max_map_count)" -lt 1048576 ]]; then
# echo "sysctl vm.max_map_count < 1048576, not OK, please fix it, exiting"
# exit 1
#else
# echo "sysctl vm.max_map_count >= 1048576, OK"
#fi
}

build_starmalloc() {
Expand Down

0 comments on commit 6ab13f9

Please sign in to comment.