From: Narinder Gupta Date: Tue, 16 Aug 2016 15:46:29 +0000 (-0500) Subject: modfiied to support more users open files. X-Git-Tag: colorado.1.0~30 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=95e9f8b963e5d33fd219c2bc71e5d527661abbf8;p=joid.git modfiied to support more users open files. Change-Id: Ic90aa296539da8c6559befc816fa0ca80093a3b4 Signed-off-by: Narinder Gupta --- diff --git a/ci/02-deploybundle.sh b/ci/02-deploybundle.sh index deaa51ef..4b537c24 100755 --- a/ci/02-deploybundle.sh +++ b/ci/02-deploybundle.sh @@ -113,7 +113,10 @@ count=`juju status nodes --format=short | grep nodes | wc -l` c=0 while [ $c -lt $count ]; do - juju ssh nodes/$c 'echo 2048 | sudo tee /proc/sys/fs/inotify/max_user_instances' + juju ssh nodes/$c 'echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p' || true + juju ssh nodes-compute/$c 'echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p' || true + juju ssh nodes/$c 'echo 2048 | sudo tee /proc/sys/fs/inotify/max_user_instances' || true + juju ssh nodes-compute/$c 'echo 2048 | sudo tee /proc/sys/fs/inotify/max_user_instances' || true let c+=1 done