From 95e9f8b963e5d33fd219c2bc71e5d527661abbf8 Mon Sep 17 00:00:00 2001 From: Narinder Gupta Date: Tue, 16 Aug 2016 10:46:29 -0500 Subject: modfiied to support more users open files. Change-Id: Ic90aa296539da8c6559befc816fa0ca80093a3b4 Signed-off-by: Narinder Gupta --- ci/02-deploybundle.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 -- cgit 1.2.3-korg