]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
common/options: global.yaml: change ms_bind_port_max to 7568 42210/head
authorSebastian Wagner <sewagner@redhat.com>
Wed, 7 Jul 2021 09:59:12 +0000 (11:59 +0200)
committerSebastian Wagner <sewagner@redhat.com>
Wed, 7 Jul 2021 09:59:12 +0000 (11:59 +0200)
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 <sewagner@redhat.com>
src/common/options/global.yaml.in

index 1dd0b57d467f14d5319a93d61f1e07d488631fe8..7602ecea769d6172005db8ccf931337e06c9d24c 100644 (file)
@@ -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