summaryrefslogtreecommitdiffstats
path: root/health
diff options
context:
space:
mode:
authorMarkos Fountoulakis <44345837+mfundul@users.noreply.github.com>2019-10-07 11:08:21 +0300
committerGitHub <noreply@github.com>2019-10-07 11:08:21 +0300
commit852c97d412080205a7880d2cda2561c8fa40b203 (patch)
tree158dc0b05b0e2c2ef083e3a6f804ea8962414635 /health
parentddaef9edba00faa83654f1dc8b696a1647b32229 (diff)
Remove hard cap from page cache size to eliminate deadlocks. (#7006)
* Remove page cache error detection and deadlock resolution * Change page cache logic to disallow deadlocks due to too many API users * Updated documentation * Changed default and minimum page cache size values to 32 and 8 MiB respectively
Diffstat (limited to 'health')
-rw-r--r--health/health.d/dbengine.conf27
1 files changed, 1 insertions, 26 deletions
diff --git a/health/health.d/dbengine.conf b/health/health.d/dbengine.conf
index 2d63273b9d..ce6427cd25 100644
--- a/health/health.d/dbengine.conf
+++ b/health/health.d/dbengine.conf
@@ -23,29 +23,4 @@ lookup: sum -10m unaligned of I/O errors
crit: $this > 0
delay: down 1h multiplier 1.5 max 3h
info: number of IO errors dbengine came across the last 10 minutes (CRC errors, out of space, bad disk etc)
- to: sysadmin
-
- alarm: 10min_dbengine_global_page_cache_errors
- on: netdata.dbengine_global_errors
- os: linux freebsd macos
- hosts: *
- units: errors
- every: 10s
-lookup: sum -10m unaligned of Page-Cache errors
- crit: $this > 0
-repeat: warning 1h critical 1h
- delay: down 1h multiplier 1.5 max 3h
- info: number of deadlocks dbengine resolved the last 10 minutes due to insufficient page cache size, metrics have been lost
- to: sysadmin
-
- alarm: 10min_dbengine_global_page_cache_warnings
- on: netdata.dbengine_global_errors
- os: linux freebsd macos
- hosts: *
- units: errors
- every: 10s
-lookup: sum -10m unaligned of Page-Cache warnings
- warn: $this > 0
- delay: down 1h multiplier 1.5 max 3h
- info: number of times dbengine almost deadlocked the last 10 minutes due to insufficient page cache size
- to: sysadmin
+ to: sysadmin \ No newline at end of file