Merge pull request #934 from cernceph/wip-rgw-ulimit

radosgw: increase nofiles ulimit on sysvinit machines
This commit is contained in:
Sage Weil 2013-12-12 09:42:21 -08:00
commit 31b0823deb

View File

@ -80,7 +80,7 @@ case "$1" in
fi
#start-stop-daemon --start -u $user -x $RADOSGW -- -n $name
daemon --user="$user" "$RADOSGW -n $name"
daemon --user="$user" "ulimit -n 32768; $RADOSGW -n $name"
echo "Starting $name..."
done
daemon_is_running $RADOSGW