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, 17 Apr 2017 12:46:05 +0000 (12:46 +0000)
commitac5954cc1f13a742692cf689fc0f6b3c178f60cf
tree68f07dc3dc7cfd57faff94a0ccd22ee672ef1b91
parent5d4b65b583a673e948e8527a77afd0cd04879f10
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
(cherry picked from commit 3aa86a4ea3c2406f79d6283cbb158f67136b5e9a)
manifests/profile/base/database/mongodb.pp
releasenotes/notes/restrict-mongodb-memory-c19d69638b63feb4.yaml [new file with mode: 0644]