summaryrefslogtreecommitdiffstats
path: root/vespabase
diff options
context:
space:
mode:
authorArne H Juul <arnej@yahoo-inc.com>2017-04-28 09:34:18 +0200
committerArne H Juul <arnej@yahoo-inc.com>2017-04-28 09:34:18 +0200
commit859bfe2194ad3227af638a7261214947c526fbb2 (patch)
treeeb924ef33984713811da79368e2e72c01a78ceef /vespabase
parentee3f2092b5e6a91944d36d17f8ed8fa5242e91aa (diff)
increase the open-files resource limit
Diffstat (limited to 'vespabase')
-rwxr-xr-xvespabase/src/common-env.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/vespabase/src/common-env.sh b/vespabase/src/common-env.sh
index 1b271878ce8..871b170142e 100755
--- a/vespabase/src/common-env.sh
+++ b/vespabase/src/common-env.sh
@@ -147,8 +147,8 @@ fixlimits () {
# number of open files:
if varhasvalue file_descriptor_limit; then
ulimit -n ${file_descriptor_limit} || exit 1
- elif [ `ulimit -n` -lt 16384 ]; then
- ulimit -n 16384 || exit 1
+ elif [ `ulimit -n` -lt 262144 ]; then
+ ulimit -n 262144 || exit 1
fi
# core file size