Set the kernel SHMMAX parameter if one is defined for the host
This commit is contained in:
parent
57b39c0630
commit
ad717c8ff0
3 changed files with 8 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue