1
0
Fork 0

Increase default number of Carbon workers

This commit is contained in:
Gregory Eremin 2016-08-09 13:57:22 +02:00
parent 8821f7bfcf
commit 3b890247a8
1 changed files with 2 additions and 2 deletions

View File

@ -8,7 +8,7 @@ graph-prefix = "carbon.agents.{host}."
# Interval of storing internal metrics. Like CARBON_METRIC_INTERVAL # Interval of storing internal metrics. Like CARBON_METRIC_INTERVAL
metric-interval = "1m0s" metric-interval = "1m0s"
# Increase for configuration with multi persisters # Increase for configuration with multi persisters
max-cpu = 1 max-cpu = 2
[whisper] [whisper]
data-dir = "/data/graphite/whisper/" data-dir = "/data/graphite/whisper/"
@ -17,7 +17,7 @@ schemas-file = "/etc/storage-schemas.conf"
# http://graphite.readthedocs.org/en/latest/config-carbon.html#storage-aggregation-conf. Optional # http://graphite.readthedocs.org/en/latest/config-carbon.html#storage-aggregation-conf. Optional
aggregation-file = "" aggregation-file = ""
# Workers count. Metrics sharded by "crc32(metricName) % workers" # Workers count. Metrics sharded by "crc32(metricName) % workers"
workers = 1 workers = 2
# Limits the number of whisper update_many() calls per second. 0 - no limit # Limits the number of whisper update_many() calls per second. 0 - no limit
max-updates-per-second = 0 max-updates-per-second = 0
# Sparse file creation # Sparse file creation