From: David Disseldorp Date: Wed, 25 Oct 2017 17:54:42 +0000 (+0200) Subject: sysctl.d: set kernel.pid_max=4194304 X-Git-Tag: ses5-deepsea-pr-test~10^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=bb95867a30d777af3270e65bb36c602915526671;p=ceph.git sysctl.d: set kernel.pid_max=4194304 For CONFIG_BASE_FULL Linux kernels, the maximum number of proc/thread IDs is set to 32768 by default. This default limit can be quite easily hit during recovery on nodes with high OSD counts. To avoid hitting the pid_max default limit, attempt to configure it to 4194304, which corresponds to the maximum limit possible on 64-bit CONFIG_BASE_FULL kernels. Fixes: http://tracker.ceph.com/issues/21929 Signed-off-by: David Disseldorp (cherry picked from commit 41bf9cb9a074a17f34fe1920273edf2bbcba091e) --- diff --git a/src/90-ceph-osd.conf b/src/90-ceph-osd.conf index c5c64bb7052..4807b876461 100644 --- a/src/90-ceph-osd.conf +++ b/src/90-ceph-osd.conf @@ -1 +1,2 @@ fs.aio-max-nr = 1048576 +kernel.pid_max = 4194304