restrict mongodb memory usage

Bug #1656558 reported by Pradeep Kilambi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
Medium
Pradeep Kilambi

Bug Description

mongodb can consume a lot of memory. add a way to restrict mongodb processes to a reasonable limit.

Revision history for this message
Pradeep Kilambi (pkilambi) wrote :
Changed in tripleo:
assignee: nobody → Pradeep Kilambi (pkilambi)
status: New → In Progress
importance: Undecided → Medium
milestone: none → ocata-3
Changed in tripleo:
milestone: ocata-3 → ocata-rc1
Changed in tripleo:
milestone: ocata-rc1 → pike-1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to puppet-tripleo (master)

Reviewed: https://review.openstack.org/419090
Committed: https://git.openstack.org/cgit/openstack/puppet-tripleo/commit/?id=3aa86a4ea3c2406f79d6283cbb158f67136b5e9a
Submitter: Jenkins
Branch: master

commit 3aa86a4ea3c2406f79d6283cbb158f67136b5e9a
Author: Pradeep Kilambi <email address hidden>
Date: Wed Jan 11 13:56:57 2017 -0500

    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

Changed in tripleo:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-heat-templates (master)

Fix proposed to branch: master
Review: https://review.openstack.org/452975

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-heat-templates (master)

Reviewed: https://review.openstack.org/452975
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=75d48838020ad9ff2bbd739212599ec8eb932649
Submitter: Jenkins
Branch: master

commit 75d48838020ad9ff2bbd739212599ec8eb932649
Author: Pradeep Kilambi <email address hidden>
Date: Mon Apr 3 18:01:27 2017 -0400

    Add params to tweak memory limit on mongodb

    The puppet-tripleo change was added in
    Ie9391aa39532507c5de8dd668a70d5b66e17c891.

    Closes-bug: #1656558

    Change-Id: Ibe2e4be5b5dc953d8d4b14f680a460409db95585

tags: added: ocata-backport-potential
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to puppet-tripleo (stable/ocata)

Fix proposed to branch: stable/ocata
Review: https://review.openstack.org/455305

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-heat-templates (stable/ocata)

Fix proposed to branch: stable/ocata
Review: https://review.openstack.org/455306

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/puppet-tripleo 7.0.0

This issue was fixed in the openstack/puppet-tripleo 7.0.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-heat-templates 7.0.0.0b1

This issue was fixed in the openstack/tripleo-heat-templates 7.0.0.0b1 development milestone.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to puppet-tripleo (stable/ocata)

Reviewed: https://review.openstack.org/455305
Committed: https://git.openstack.org/cgit/openstack/puppet-tripleo/commit/?id=ac5954cc1f13a742692cf689fc0f6b3c178f60cf
Submitter: Jenkins
Branch: stable/ocata

commit ac5954cc1f13a742692cf689fc0f6b3c178f60cf
Author: Pradeep Kilambi <email address hidden>
Date: Wed Jan 11 13:56:57 2017 -0500

    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)

tags: added: in-stable-ocata
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-heat-templates (stable/ocata)

Reviewed: https://review.openstack.org/455306
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=c25a96357cbdddf2af2a3c5e3da65d8fbd00a99b
Submitter: Jenkins
Branch: stable/ocata

commit c25a96357cbdddf2af2a3c5e3da65d8fbd00a99b
Author: Pradeep Kilambi <email address hidden>
Date: Mon Apr 3 18:01:27 2017 -0400

    Add params to tweak memory limit on mongodb

    The puppet-tripleo change was added in
    Ie9391aa39532507c5de8dd668a70d5b66e17c891.

    Closes-bug: #1656558

    Change-Id: Ibe2e4be5b5dc953d8d4b14f680a460409db95585
    (cherry picked from commit 75d48838020ad9ff2bbd739212599ec8eb932649)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/puppet-tripleo 6.4.0

This issue was fixed in the openstack/puppet-tripleo 6.4.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-heat-templates 6.1.0

This issue was fixed in the openstack/tripleo-heat-templates 6.1.0 release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.