From ce4e559d2962e89aa6cda2b4bc385daf013f9b49 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Thu, 31 Jul 2014 09:26:20 -0700 Subject: [PATCH] vstart.sh: limit open files Most users only get 1024 fds. Signed-off-by: Sage Weil --- src/vstart.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/vstart.sh b/src/vstart.sh index 6ba2995ecfaac..1cf4dbe56a672 100755 --- a/src/vstart.sh +++ b/src/vstart.sh @@ -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 -- 2.39.5