summaryrefslogtreecommitdiffstats
path: root/ci
diff options
context:
space:
mode:
authorNarinder Gupta <narinder.gupta@canonical.com>2016-08-16 10:46:29 -0500
committerNarinder Gupta <narinder.gupta@canonical.com>2016-08-16 10:47:11 -0500
commit95e9f8b963e5d33fd219c2bc71e5d527661abbf8 (patch)
treeb7720087c00670f384eed4d7b17cb095eec7424e /ci
parent67858bbf2fe17081e76100123622d50bfffb532f (diff)
modfiied to support more users open files.
Change-Id: Ic90aa296539da8c6559befc816fa0ca80093a3b4 Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
Diffstat (limited to 'ci')
-rwxr-xr-xci/02-deploybundle.sh5
1 files changed, 4 insertions, 1 deletions
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