]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
init-ceph: default to 16K max_open_files
authorSage Weil <sage@inktank.com>
Fri, 28 Dec 2012 20:11:55 +0000 (12:11 -0800)
committerSage Weil <sage@inktank.com>
Fri, 28 Dec 2012 20:11:55 +0000 (12:11 -0800)
Signed-off-by: Sage Weil <sage@inktank.com>
src/init-ceph.in

index 116fd434c4aef4ba424251d6a51cfc0563acdbf0..a8b194fba82bcb50dc1c9b2ce9ae0134c1306040 100644 (file)
@@ -244,7 +244,7 @@ for name in $what; do
     case "$command" in
        start)
             # Increase max_open_files, if the configuration calls for it.
-            get_conf max_open_files "0" "max open files"
+            get_conf max_open_files "16384" "max open files"
             if [ $max_open_files != "0" ]; then
                 # Note: Don't try to do math with these numbers, because POSIX shells
                 # can't do 64-bit math (natively). Just treat them as strings.