From c23369975d11cc3b792f42dd55193097f90a2173 Mon Sep 17 00:00:00 2001 From: Ben England Date: Sun, 5 May 2019 18:38:50 -0400 Subject: [PATCH] doc: remove recommendation for kernel.pid_max now that Ceph uses async messenger, setting kernel.pid_max = 4194303 should not be necessary anymore. Even if kernel thread limit is 32K and we have 100 drives, that's 320 threads per OSD, I think that should be enough. Signed-off-by: Ben England --- doc/start/hardware-recommendations.rst | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/doc/start/hardware-recommendations.rst b/doc/start/hardware-recommendations.rst index 30e00a892461..a3277b90f132 100644 --- a/doc/start/hardware-recommendations.rst +++ b/doc/start/hardware-recommendations.rst @@ -205,16 +205,6 @@ is up to date. See `OS Recommendations`_ for notes on ``glibc`` and ``syncfs(2)`` to ensure that your hardware performs as expected when running multiple OSDs per host. -Hosts with high numbers of OSDs (e.g., > 20) may spawn a lot of threads, -especially during recovery and rebalancing. Many Linux kernels default to -a relatively small maximum number of threads (e.g., 32k). If you encounter -problems starting up OSDs on hosts with a high number of OSDs, consider -setting ``kernel.pid_max`` to a higher number of threads. The theoretical -maximum is 4,194,303 threads. For example, you could add the following to -the ``/etc/sysctl.conf`` file:: - - kernel.pid_max = 4194303 - Networks ======== -- 2.47.3