Project

General

Profile

« Previous | Next » 

Revision f650f590

Added by Suresh Thirugnanasambandan about 4 years ago

Fixes #29426 - Configure default mongo cache size

Configuring default mongo cache size to 20% of total memory. See1
Otherwise mongo goes onto consume about 50% of total memory. See2

[1] https://access.redhat.com/solutions/4505561
[2] https://docs.mongodb.com/manual/core/wiredtiger/#memory-use

View differences:

config/foreman.hiera/tuning/common.yaml
log_line_prefix: '%t '
log_min_duration_statement: 1000
log_rotation_size: 200000
mongodb::server::config_data:
storage.wiredTiger.engineConfig.cacheSizeGB: "%{facts.kafo.scenario.custom.mongo_cache_size}"

Also available in: Unified diff