copr-fe: use lower shared_buffers value on STG
The instance has only 4G of RAM so PostgreSQL fails to start with: FATAL: could not map anonymous shared memory: Cannot allocate memory
This commit is contained in:
parent
f63e839698
commit
e4e9f1ca3c
1 changed files with 1 additions and 1 deletions
|
@ -60,7 +60,7 @@
|
||||||
lineinfile:
|
lineinfile:
|
||||||
path: /var/lib/pgsql/data/postgresql.conf
|
path: /var/lib/pgsql/data/postgresql.conf
|
||||||
regexp: '^shared_buffers ='
|
regexp: '^shared_buffers ='
|
||||||
line: 'shared_buffers = 8096MB'
|
line: 'shared_buffers = {% if devel %}1024MB{% else %}8096MB{% endif %}'
|
||||||
notify: Restart postgresql
|
notify: Restart postgresql
|
||||||
tags:
|
tags:
|
||||||
- config
|
- config
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue