summaryrefslogtreecommitdiff
path: root/tests/http
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2015-11-09 14:54:05 -0800
committerAdam Ierymenko <adam.ierymenko@gmail.com>2015-11-09 14:54:05 -0800
commit94f4316a0ecb56f7e34422a7dfed73efb2bbe1a3 (patch)
tree7550f5013ca182226553c8666f26ed2f5f3c0546 /tests/http
parent35c4e28f314881f3f6647deaaaf3e58d2ccb5417 (diff)
downloadinfinitytier-94f4316a0ecb56f7e34422a7dfed73efb2bbe1a3.tar.gz
infinitytier-94f4316a0ecb56f7e34422a7dfed73efb2bbe1a3.zip
Fix for possible high CPU usage on multicast queries.
Diffstat (limited to 'tests/http')
-rwxr-xr-xtests/http/big-test-start.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/http/big-test-start.sh b/tests/http/big-test-start.sh
index b2782ac2..1b462285 100755
--- a/tests/http/big-test-start.sh
+++ b/tests/http/big-test-start.sh
@@ -4,9 +4,10 @@
# 250 with a 16GB RAM VM like Amazon m4.xlarge seems good
NUM_CONTAINERS=250
CONTAINER_IMAGE=zerotier/http-test
+SCALE_UP_DELAY=4
export PATH=/bin:/usr/bin:/usr/local/bin:/usr/sbin:/sbin
-pssh -h big-test-hosts -x '-t -t' -i -OUserKnownHostsFile=/dev/null -OStrictHostKeyChecking=no -t 0 -p 256 "sudo sysctl -w net.netfilter.nf_conntrack_max=262144 ; for ((n=0;n<$NUM_CONTAINERS;n++)); do sudo docker run --device=/dev/net/tun --privileged -d $CONTAINER_IMAGE; sleep 10; done"
+pssh -h big-test-hosts -x '-t -t' -i -OUserKnownHostsFile=/dev/null -OStrictHostKeyChecking=no -t 0 -p 256 "sudo sysctl -w net.netfilter.nf_conntrack_max=262144 ; for ((n=0;n<$NUM_CONTAINERS;n++)); do sudo docker run --device=/dev/net/tun --privileged -d $CONTAINER_IMAGE; sleep $SCALE_UP_DELAY; done"
exit 0