Files
wakurtosis/bash-utils/prepare_env.sh
2023-07-12 11:45:42 +02:00

18 lines
467 B
Bash
Executable File

#!/bin/sh
kurtosis engine stop
ulimit -n $(ulimit -n -H)
ulimit -u $(ulimit -u -H)
sudo sysctl -w net.ipv4.neigh.default.gc_thresh1=16384
sudo sysctl -w net.ipv4.neigh.default.gc_thresh2=28672
sudo sysctl -w net.ipv4.neigh.default.gc_thresh3=32768
sudo sysctl fs.inotify.max_user_instances=1048576
sudo sysctl -w vm.max_map_count=262144
sudo docker container rm -f $(docker container ls -aq)
sudo docker volume rm -f $(docker volume ls -q)
kurtosis engine start