]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
Increase kernel.pid_max to a higher value 138/head
authorSébastien Han <sebastien.han@enovance.com>
Mon, 10 Nov 2014 13:13:31 +0000 (14:13 +0100)
committerSébastien Han <sebastien.han@enovance.com>
Mon, 10 Nov 2014 13:13:31 +0000 (14:13 +0100)
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 <sebastien.han@enovance.com>
roles/ceph-common/tasks/main.yml

index 4d23e76a08d8a4f23f86eac96b6309396b54a656..c358fe75ebdb089dd693c36b24eb52df72380daf 100644 (file)
@@ -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