puppet-tripleo/releasenotes/notes/restrict-mongodb-memory-c19d69638b63feb4.yaml
Pradeep Kilambi 3aa86a4ea3 Restrict mongodb memory usage
Currently, mongodb has no limits on how much memory
it can consume. This enforces restriction so mongodb
service limits through systemd.

The puppet-systemd module has support for limits. The
MemoryLimit support is added in the follwoing pull
request https://github.com/camptocamp/puppet-systemd/pull/23

Closes-bug: #1656558

Change-Id: Ie9391aa39532507c5de8dd668a70d5b66e17c891
2017-04-03 15:17:54 +00:00

7 lines
219 B
YAML

---
fixes:
- Add a way for mongodb to limit amount of memory it comsumes
with systemd. A new param memory_limit has been added to
tripleo::profile::base::database::mongodb class with
default limit of 20G.