diff options
author | Geir Storli <geirst@oath.com> | 2017-09-26 16:59:44 +0000 |
---|---|---|
committer | Geir Storli <geirst@oath.com> | 2017-09-26 16:59:44 +0000 |
commit | d8c2fa47aebfe915ed03a9ced75b0ff0dadeac94 (patch) | |
tree | ac94dfdcd63949645fd10314e1b5dee8f8d3e0b1 /searchcore | |
parent | 6796195b37f351f843eea4992d2d45b7ba4eb771 (diff) |
Add hwinfo config on whether disk is shared or not.
Diffstat (limited to 'searchcore')
-rw-r--r-- | searchcore/src/vespa/searchcore/config/proton.def | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/searchcore/src/vespa/searchcore/config/proton.def b/searchcore/src/vespa/searchcore/config/proton.def index 5311e9bde07..94b7f2e9ef0 100644 --- a/searchcore/src/vespa/searchcore/config/proton.def +++ b/searchcore/src/vespa/searchcore/config/proton.def @@ -402,6 +402,11 @@ writefilter.sampleinterval double default = 60.0 ## The disk size is used when determining if feed should be blocked in writefilter. hwinfo.disk.size long default = 0 +## Whether the disk partition is shared among several instances of proton (e.g. when using docker). +## If shared, disk usage is sampled by doing a recursive directory scan in proton basedir. +## If not, disk usage is sampled by looking at the filesystem space info. +hwinfo.disk.shared bool default = false + ## Override for disk write speed, measured in MiB/s. When zero, the ## actual disk write speed is sampled by writing data to a temporary file. hwinfo.disk.writespeed double default = 200.0 |