]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
vstart.sh: make filestore fd cache size smaller 2010/head
authorSage Weil <sage@redhat.com>
Wed, 2 Jul 2014 16:27:52 +0000 (09:27 -0700)
committerSage Weil <sage@redhat.com>
Sat, 16 Aug 2014 20:19:46 +0000 (13:19 -0700)
I hit the fd limit on a vstart cluster with the default 128; reduce this
to 16.

Signed-off-by: Sage Weil <sage@redhat.com>
src/vstart.sh

index 1cf4dbe56a672a77fdffea889cd1bdd5ba4decf5..cabd911a3ac945a7a95c705a6f219ac9a9ef8497 100755 (executable)
@@ -339,6 +339,7 @@ if [ "$start_mon" -eq 1 ]; then
         osd pool default min size = 1
         osd pool default erasure code directory = .libs
         osd pool default erasure code profile = plugin=jerasure technique=reed_sol_van k=2 m=1 ruleset-failure-domain=osd
+        filestore fd cache size = 32
         run dir = $CEPH_OUT_DIR
 EOF
 if [ "$cephx" -eq 1 ] ; then