]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
sysctl.d: set kernel.pid_max=4194304 on 64-bit systems
authorDavid Disseldorp <ddiss@suse.de>
Tue, 14 Nov 2017 15:32:39 +0000 (16:32 +0100)
committerNathan Cutler <ncutler@suse.com>
Fri, 24 Nov 2017 22:58:16 +0000 (23:58 +0100)
commitacccd2332cd0bc0f8b8f00276ce25a9582c083d7
tree111ac64f732a5545121836eac7e3e767b8634283
parent718528304063c7ea03d7777c3eaf6e26a0900f59
sysctl.d: set kernel.pid_max=4194304 on 64-bit systems

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 14a0c2a727dd71560c3cf18171378ccde6e14699)
CMakeLists.txt
etc/sysctl/.gitignore [new file with mode: 0644]
etc/sysctl/90-ceph-osd.conf [deleted file]
etc/sysctl/90-ceph-osd.conf.in [new file with mode: 0644]
etc/sysctl/CMakeLists.txt [new file with mode: 0644]