Update tests/ci/worker/ubuntu_ami_for_ci.sh

Co-authored-by: Mikhail f. Shiryaev <felixoid@clickhouse.com>
This commit is contained in:
Nikolai Kochetov 2023-03-02 18:19:19 +01:00 committed by GitHub
parent e435748473
commit 47cd46f590
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -76,7 +76,7 @@ cat <<EOT > /etc/docker/daemon.json
EOT
# Increase the limit on number of virtual memory mappings to aviod 'Cannot mmap' error
sysctl -w vm.max_map_count=2097152
echo "vm.max_map_count = 2097152" > /etc/sysctl.d/01-increase-map-counts.conf
systemctl restart docker