summaryrefslogtreecommitdiffstats
path: root/etc/sysctl/CMakeLists.txt (follow)
Commit message (Collapse)AuthorAgeFilesLines
* cmake: only create sysctl file on linuxKefu Chai2017-11-201-2/+3
| | | | | | and check 64bit platform by using the sizeof(void*) Signed-off-by: Kefu Chai <kchai@redhat.com>
* sysctl.d: set kernel.pid_max=4194304 on 64-bit systemsDavid Disseldorp2017-11-171-0/+8
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>