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 <sebastien.han@enovance.com>
pull/138/head
Sébastien Han 2014-11-10 14:13:31 +01:00
parent f58d89b7ee
commit 5e52d89e94
1 changed files with 3 additions and 0 deletions

View 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