node-db: increases the shared memory configured in docker

Mitigates the "out of shared memory" issue

Signed-off-by: Ivan Folgueira Bande <ivansete@status.im>
This commit is contained in:
Ivan Folgueira Bande 2024-09-17 15:40:13 +02:00 committed by Alexis Pentori
parent 65608788a9
commit 5566604913
No known key found for this signature in database
GPG Key ID: 65250D2801E47A10
1 changed files with 4 additions and 0 deletions

View File

@ -22,3 +22,7 @@ open_ports_default_comment: '{{ postgres_ha_service_name }}'
open_ports_list:
postgres:
- { port: '{{ postgres_ha_cont_port }}', ipset: '{{ env }}.{{ stage }}', iifname: 'wg0' }
# Use the 30% of RAM for shared memory
postgres_share_memory: '{{ ansible_memtotal_mb * 0.30 | int }}m'