forked from TrueCloudLab/frostfs-node
[#537] node: Add runtime.memory_limit config parameter
This parameter allows to set soft memory limit for Go GC. Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
This commit is contained in:
parent
5ff82ff04f
commit
32c77f3a23
10 changed files with 107 additions and 0 deletions
|
@ -188,3 +188,5 @@ FROSTFS_STORAGE_SHARD_1_GC_REMOVER_SLEEP_INTERVAL=5m
|
|||
FROSTFS_TRACING_ENABLED=true
|
||||
FROSTFS_TRACING_ENDPOINT="localhost"
|
||||
FROSTFS_TRACING_EXPORTER="otlp_grpc"
|
||||
|
||||
FROSTFS_RUNTIME_SOFT_MEMORY_LIMIT=1073741824
|
||||
|
|
|
@ -245,5 +245,8 @@
|
|||
"enabled": true,
|
||||
"endpoint": "localhost:9090",
|
||||
"exporter": "otlp_grpc"
|
||||
},
|
||||
"runtime": {
|
||||
"soft_memory_limit": 1073741824
|
||||
}
|
||||
}
|
||||
|
|
|
@ -217,3 +217,6 @@ tracing:
|
|||
enabled: true
|
||||
exporter: "otlp_grpc"
|
||||
endpoint: "localhost"
|
||||
|
||||
runtime:
|
||||
soft_memory_limit: 1gb
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue