nimbus.prater: add 16 GB SWAP file, no SWAP partition

There were OOM killer logs on `linux-06` due to Erigon.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2023-07-12 09:36:05 +02:00
parent 7dff81fb2f
commit 41025265e2
No known key found for this signature in database
GPG Key ID: FE65CD384D5BF7B4
2 changed files with 5 additions and 0 deletions

View File

@ -7,6 +7,10 @@ bootstrap__extra_volume_bind_paths:
DATA_VOLUME1: ['/data']
DATA_VOLUME2: ['/docker']
# SWAP
swap_file_path: '/main.swap'
swap_file_size_mb: 16384
# SMART Metrics are broken
# https://github.com/prometheus-community/smartctl_exporter/issues/26
smart_metrics_consul_check_enabled: false

View File

@ -34,6 +34,7 @@
serial: '{{ serial|default(1) }}'
hosts: nimbus-prater-metal
roles:
- { role: swap-file, tags: [ swap-file ] }
- { role: open-ports, tags: [ open-ports ] }
- { role: smart-metrics, tags: [ smart-metrics ] }
- { role: redirect-ports, tags: [ redirect-ports ] }