@cryptotaxi247 / netdata-1 / commits / 82391cdca

Increase dbengine default cache size (#6997)

* Increase database engine default page cache size to support up to 32K metrics out of the box * Reduce mass flood effect of dbengine page cache alarm * changed repeating notification to every hour

Markos Fountoulakis committed Oct 5, 2019 at 11:27 UTC 82391cdcab3124e360d746bbd2a81f3b3f35bdc0
3 files changed +3 -3
configs.signatures
+1 -1
@@ -381,7 +381,7 @@ declare -A configs_signatures=(
381 ['7deb236ec68a512b9bdd18e6a51d76f7']='python.d/mysql.conf'
382 ['7e5fc1644aa7a54f9dbb1bd102521b09']='health.d/memcached.conf'
383 ['7f13631183fbdf79c21c8e5a171e9b34']='health.d/zfs.conf'
384 - ['0fca55fc770c243ebfd8387c89059dd2']='health.d/dbengine.conf'
384 + ['c87415051e896b46faba1d16d955102d']='health.d/dbengine.conf'
385 ['7fb8184d56a27040e73261ed9c6fc76f']='health_alarm_notify.conf'
386 ['80266bddd3df374923c750a6de91d120']='health.d/apache.conf'
387 ['803a7f9dcb942eeac0fd764b9e3e38ca']='fping.conf'
database/engine/rrdengineapi.c
+1 -1
@@ -4,7 +4,7 @@
4 /* Default global database instance */
5 static struct rrdengine_instance default_global_ctx;
6
7 -int default_rrdeng_page_cache_mb = RRDENG_MIN_PAGE_CACHE_SIZE_MB;
7 +int default_rrdeng_page_cache_mb = 128;
8 int default_rrdeng_disk_quota_mb = RRDENG_MIN_DISK_SPACE_MB;
9
10 /*
health/health.d/dbengine.conf
+1 -1
@@ -33,7 +33,7 @@ lookup: sum -10m unaligned of I/O errors
33 every: 10s
34 lookup: sum -10m unaligned of Page-Cache errors
35 crit: $this > 0
36 -repeat: warning 120s critical 10s
36 +repeat: warning 1h critical 1h
37 delay: down 1h multiplier 1.5 max 3h
38 info: number of deadlocks dbengine resolved the last 10 minutes due to insufficient page cache size, metrics have been lost
39 to: sysadmin