From 89a709da8d9e31fc6f1387a24f57074726b4ad01 Mon Sep 17 00:00:00 2001 From: Sebastian Wagner Date: Wed, 7 Jul 2021 11:59:12 +0200 Subject: [PATCH] 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 --- src/common/options/global.yaml.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5