]> git.apps.os.sepia.ceph.com Git - teuthology.git/commitdiff
adjust-ulimits: use a larger numbers for open files 1508/head
authorXiubo Li <xiubli@redhat.com>
Wed, 17 Jun 2020 07:02:43 +0000 (03:02 -0400)
committerXiubo Li <xiubli@redhat.com>
Wed, 17 Jun 2020 07:08:10 +0000 (03:08 -0400)
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 <xiubli@redhat.com>
teuthology/task/install/adjust-ulimits

index 4825049f324283d004d39df0822cf3739ef4b6be..6f05392b90f5d11c6c6e88b7637db0f7c037fa5f 100755 (executable)
@@ -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