]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
vstart.sh: limit open files
authorSage Weil <sage@redhat.com>
Thu, 31 Jul 2014 16:26:20 +0000 (09:26 -0700)
committerSage Weil <sage@redhat.com>
Thu, 31 Jul 2014 18:03:19 +0000 (11:03 -0700)
Most users only get 1024 fds.

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

index 6ba2995ecfaacde6dce54eb45c07a8d7a175c51c..1cf4dbe56a672a77fdffea889cd1bdd5ba4decf5 100755 (executable)
@@ -381,6 +381,12 @@ $DAEMONOPTS
         osd class dir = .libs
         osd scrub load threshold = 5.0
         osd debug op order = true
+        filestore wbthrottle xfs ios start flusher = 10
+        filestore wbthrottle xfs ios hard limit = 20
+        filestore wbthrottle xfs inodes hard limit = 30
+        filestore wbthrottle btrfs ios start flusher = 10
+        filestore wbthrottle btrfs ios hard limit = 20
+        filestore wbthrottle btrfs inodes hard limit = 30
 $COSDDEBUG
 $COSDMEMSTORE
 $extra_conf