Change in ovirt-engine[ovirt-engine-4.1]: packaging: services: Limit engine heap size
Code Review
gerrit at ovirt.org
Mon Apr 3 13:21:32 UTC 2017
>From Tal Nisan <tnisan at redhat.com>:
Tal Nisan 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>
(cherry picked from commit cd9d7f275ce704ce8436ba213780b7c7ca520d90)
---
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
Jenkins CI: Passed CI tests
Yedidyah Bar David: Verified
--
To view, visit https://gerrit.ovirt.org/75054
To unsubscribe, visit https://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I2f239691893ad36c723444c956fef0fb755e9c43
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: ovirt-engine-4.1
Gerrit-Owner: Yedidyah Bar David <didi at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Sandro Bonazzola <sbonazzo at redhat.com>
Gerrit-Reviewer: Tal Nisan <tnisan 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