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:
parent
7dff81fb2f
commit
41025265e2
|
@ -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
|
||||
|
|
|
@ -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 ] }
|
||||
|
|
Loading…
Reference in New Issue