Browse files

MB-3896 - init script whitespace on limits.conf message

Change-Id: I6483f8aeca0c2e4f7491d470aa89076735032da6
Reviewed-on: http://review.couchbase.org/14308
Tested-by: Farshid Ghods <farshid@couchbase.com>
Reviewed-by: Farshid Ghods <farshid@couchbase.com>
  • Loading branch information...
1 parent 12a4e73 commit 703fc39807b538ada28f62b5c8f88686ed5b9d89 @steveyen steveyen committed Mar 26, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 couchbase-server.sh.in
View
2 couchbase-server.sh.in
@@ -48,6 +48,7 @@ _check_nofile () {
if [ `ulimit -n` -lt 10240 ]
then
cat <<EOF
+
The maximum number of open files for the couchbase user is set too low.
It must be at least 10240. Normally this can be increased by adding
the following lines to /etc/security/limits.conf:
@@ -56,6 +57,7 @@ couchbase soft nofile <value>
couchbase hard nofile <value>
Where <value> is greater than 10240.
+
EOF
fi
}

0 comments on commit 703fc39

Please sign in to comment.