From fcea0b9b92d87a8a831e2b38611b6cd38bbde11d Mon Sep 17 00:00:00 2001 From: Xiubo Li Date: Wed, 17 Jun 2020 03:02:43 -0400 Subject: [PATCH] adjust-ulimits: use a larger numbers for open files For some cephfs test case it will run handreds of threads and with some mounts in each, we need a larger limit on the number of open file descriptors. Fixes: https://tracker.ceph.com/issues/45829 Signed-off-by: Xiubo Li --- teuthology/task/install/adjust-ulimits | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/teuthology/task/install/adjust-ulimits b/teuthology/task/install/adjust-ulimits index 4825049f3..6f05392b9 100755 --- a/teuthology/task/install/adjust-ulimits +++ b/teuthology/task/install/adjust-ulimits @@ -8,7 +8,7 @@ set -e if [ "$USER" = "root" ] then # Enable large number of open files - ulimit -n 16384 + ulimit -n 65536 fi # Enable core dumps for everything -- 2.47.3