]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
sysctl.d: set kernel.pid_max=4194304
authorDavid Disseldorp <ddiss@suse.de>
Wed, 25 Oct 2017 17:54:42 +0000 (19:54 +0200)
committerNathan Cutler <ncutler@suse.com>
Fri, 27 Oct 2017 14:20:13 +0000 (16:20 +0200)
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 <ddiss@suse.de>
(cherry picked from commit 41bf9cb9a074a17f34fe1920273edf2bbcba091e)

src/90-ceph-osd.conf

index c5c64bb7052799d5ce50d743fa70c75911e7065d..4807b876461aa53c4afae4798de539cc805b6a0b 100644 (file)
@@ -1 +1,2 @@
 fs.aio-max-nr = 1048576
+kernel.pid_max = 4194304