Change in ovirt-engine[master]: packaging: services: Limit engine heap size

Code Review gerrit at ovirt.org
Mon Apr 3 12:08:53 UTC 2017


>From Sandro Bonazzola <sbonazzo at redhat.com>:

Sandro Bonazzola has submitted this change and it was merged.

Change subject: packaging: services: Limit engine heap size
......................................................................


packaging: services: Limit engine heap size

If ENGINE_HEAP_MIN/ENGINE_HEAP_MAX are too high, set them lower.

They are set by default in new setups to be 25% of available memory,
or 1024MB if machine has < 4096MB, and currently are not changed on
upgrades. If the machine later on has less memory, or if the engine
was restored on a machine with less memory, it might fail. So run it
with lower values and warn in the system log.

Optionally disable this by setting in engine conf:
ENFORCE_ENGINE_HEAP_PARAMS=true

Bug-Url: https://bugzilla.redhat.com/1329119
Change-Id: I2f239691893ad36c723444c956fef0fb755e9c43
Signed-off-by: Yedidyah Bar David <didi at redhat.com>
---
M packaging/services/ovirt-engine/ovirt-engine.conf.in
M packaging/services/ovirt-engine/ovirt-engine.py
2 files changed, 36 insertions(+), 2 deletions(-)

Approvals:
  Sandro Bonazzola: Looks good to me, approved
  Simone Tiraboschi: Looks good to me, but someone else must approve
  Jenkins CI: Passed CI tests
  Yedidyah Bar David: Verified



-- 
To view, visit https://gerrit.ovirt.org/73688
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I2f239691893ad36c723444c956fef0fb755e9c43
Gerrit-PatchSet: 10
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Yedidyah Bar David <didi at redhat.com>
Gerrit-Reviewer: Ido Rosenzwig <irosenzw at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Lev Veyde <lveyde at redhat.com>
Gerrit-Reviewer: Roy Golan <rgolan at redhat.com>
Gerrit-Reviewer: Sandro Bonazzola <sbonazzo at redhat.com>
Gerrit-Reviewer: Simone Tiraboschi <stirabos at redhat.com>
Gerrit-Reviewer: Yedidyah Bar David <didi at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>


More information about the Engine-commits mailing list