Set the kernel SHMMAX parameter if one is defined for the host

This commit is contained in:
Pierre-Yves Chibon 2014-09-29 16:32:49 +02:00
parent 57b39c0630
commit ad717c8ff0
3 changed files with 8 additions and 1 deletions

View file

@ -14,7 +14,8 @@
- postgresql
- name: Set kernel shared memory max to a larger value
sysctl: name=kernel.shmmax value=68719476736
sysctl: name=kernel.shmmax value={{ kernel_shmmax }}
when: kernel_shmmax is defined
notify:
- restart postgresql
tags: