Restrict mongodb memory usage
authorPradeep Kilambi <pkilambi@redhat.com>
Wed, 11 Jan 2017 18:56:57 +0000 (13:56 -0500)
committerPradeep Kilambi <pkilambi@redhat.com>
Mon, 3 Apr 2017 15:17:54 +0000 (15:17 +0000)
commit3aa86a4ea3c2406f79d6283cbb158f67136b5e9a
tree10aea6b674be67f6f7b20596b7439c2de632d6c0
parente2928717412242faa4eb15d778f1b5c0952edc08
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
manifests/profile/base/database/mongodb.pp
releasenotes/notes/restrict-mongodb-memory-c19d69638b63feb4.yaml [new file with mode: 0644]