From: Sebastian Wagner Date: Wed, 7 Jul 2021 09:59:12 +0000 (+0200) Subject: common/options: global.yaml: change ms_bind_port_max to 7568 X-Git-Tag: v17.1.0~1434^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=89a709da8d9e31fc6f1387a24f57074726b4ad01;p=ceph.git common/options: global.yaml: change ms_bind_port_max to 7568 If the cluster is set to have very dense nodes (>60 OSDs per host) we have to make sure to assign sufficient ports for Ceph OSDs. The current default (6800-7300) currently allows for no more than 62 OSDs per host. For cluster with dense nodes like this we have to adjust the setting "ms_bind_port_max" to a suitable value. Each OSD will consume 8 additional ports. For example, given a host that is set to run 96 OSDs, 768 ports will be needed. "ms_bind_port_max" should be set at least to 7568. Fixes: https://tracker.ceph.com/issues/48292 Signed-off-by: Sebastian Wagner --- diff --git a/src/common/options/global.yaml.in b/src/common/options/global.yaml.in index 1dd0b57d467f1..7602ecea769d6 100644 --- a/src/common/options/global.yaml.in +++ b/src/common/options/global.yaml.in @@ -1127,7 +1127,7 @@ options: level: advanced desc: Highest port number to bind daemon(s) to fmt_desc: The maximum port number to which an OSD or MDS daemon will bind. - default: 7300 + default: 7568 with_legacy: true # FreeBSD does not use SO_REAUSEADDR so allow for a bit more time per default - name: ms_bind_retry_count