Files
alpine-packages/packaging/alpine/local/seaweedfs/example-volume.toml
T
Joachim Schlöffel a2da4acc53
Build Alpine Packages / build-and-publish (v3.24, 3.24) (push) Successful in 1h9m3s
update LavinMQ and update SeaweedFS configs
2026-09-26 14:14:07 +02:00

30 lines
757 B
TOML

# Put this file to one of the location, with descending priority
# ./volume.toml
# $HOME/.seaweedfs/volume.toml
# /etc/seaweedfs/volume.toml
# this file is read by volume servers
[volume.disk.io]
# Disk IO probing is disabled by default. When enabled, a volume server can
# stop advertising a disk after sustained IO errors or latency degradation.
probe = false
timeout = "2s"
interval = "60s"
window = "1m"
min.samples = 10
max.stat.failures = 5
recovery.coef = 0.5
[volume.disk.io.slow]
percent = 20
[volume.disk.io.error]
percent = 10
# slow threshold per disk type, matched against each -dir's -disk tag.
# a disk whose type is not listed here uses the hdd threshold.
[volume.disk.io.slow.latency]
hdd = "500ms"
ssd = "100ms"
nvme = "50ms"