Tweak kernel.shmmax for postgres.
This commit is contained in:
parent
f7312493a8
commit
535f5d324a
1 changed files with 5 additions and 0 deletions
|
@ -13,6 +13,11 @@
|
|||
- packages
|
||||
- postgresql
|
||||
|
||||
- name: Set kernel shared memory max to a larger value
|
||||
sysctl: name=kernel.shmmax value=68719476736
|
||||
notify:
|
||||
- restart postgresql
|
||||
|
||||
- name: Initialize postgres if necessary
|
||||
command: /usr/bin/postgresql-setup initdb creates=/var/lib/pgsql/data
|
||||
notify:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue