From: Sébastien Han Date: Mon, 10 Nov 2014 13:13:31 +0000 (+0100) Subject: Increase kernel.pid_max to a higher value X-Git-Tag: v1.0.0~313^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=5e52d89e943078c73dfd0bd0caceb7bcb8f9d7f1;p=ceph-ansible.git Increase kernel.pid_max to a higher value While running big boxes with 72 disks it's easy to get out of PID for all the threads needed by Ceph. Increasing the default value removes this limitation. Signed-off-by: Sébastien Han --- diff --git a/roles/ceph-common/tasks/main.yml b/roles/ceph-common/tasks/main.yml index 4d23e76a0..c358fe75e 100644 --- a/roles/ceph-common/tasks/main.yml +++ b/roles/ceph-common/tasks/main.yml @@ -36,3 +36,6 @@ - name: Disable OSD directory parsing by updatedb command: updatedb -e /var/lib/ceph ignore_errors: true + +- name: Increase PID max value to a very large value + sysctl: name="kernel.pid_max" value=4194303 state=present sysctl_file=/etc/sysctl.conf