mirror of
https://github.com/status-im/infra-nimbus.git
synced 2025-02-20 17:38:08 +00:00
set cpu and memory limits for beacon nodes
Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
d3513549f3
commit
0e184b9e96
@ -1,10 +1,17 @@
|
||||
---
|
||||
nimbus_stats_domain: nimbus-test-stats.status.im
|
||||
# temporary
|
||||
beacon_node_log_level: TRACE
|
||||
# TRACE needs more disk space
|
||||
bootstrap__rsyslog_docker_logs_path: '/docker/log'
|
||||
# lower local retention to save space
|
||||
bootstrap__logrotate_frequency: 'hourly'
|
||||
bootstrap__logrotate_count: 3
|
||||
bootstrap__logrotate_mbytes: 200
|
||||
|
||||
nimbus_stats_domain: nimbus-test-stats.status.im
|
||||
|
||||
# temporary
|
||||
beacon_node_log_level: TRACE
|
||||
# resource limits
|
||||
beacon_node_cpu_limit: 0.20
|
||||
beacon_node_mem_limit: '{{ (ansible_memtotal_mb * 0.20) | int }}'
|
||||
beacon_node_cpu_reserve: 0.10
|
||||
beacon_node_mem_reserve: '{{ (ansible_memtotal_mb * 0.1) | int }}'
|
||||
|
@ -1,9 +1,15 @@
|
||||
---
|
||||
# temporary
|
||||
beacon_node_log_level: TRACE
|
||||
# TRACE needs more disk space
|
||||
bootstrap__rsyslog_docker_logs_path: '/docker/log'
|
||||
# lower local retention to save space
|
||||
bootstrap__logrotate_frequency: 'hourly'
|
||||
bootstrap__logrotate_count: 3
|
||||
bootstrap__logrotate_mbytes: 500
|
||||
|
||||
# temporary
|
||||
beacon_node_log_level: TRACE
|
||||
# resource limits
|
||||
beacon_node_cpu_limit: 0.20
|
||||
beacon_node_mem_limit: '{{ (ansible_memtotal_mb * 0.20) | int }}'
|
||||
beacon_node_cpu_reserve: 0.10
|
||||
beacon_node_mem_reserve: '{{ (ansible_memtotal_mb * 0.1) | int }}'
|
||||
|
Loading…
x
Reference in New Issue
Block a user