Bug 1299523
Summary: | Engine setup doesn't update the ENGINE_HEAP_MIN&ENGINE_HEAP_MAX default values if memory size changed.. | ||
---|---|---|---|
Product: | [oVirt] ovirt-engine | Reporter: | Nikolai Sednev <nsednev> |
Component: | Setup.Engine | Assignee: | Yedidyah Bar David <didi> |
Status: | CLOSED DUPLICATE | QA Contact: | Pavel Stehlik <pstehlik> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 3.6.2.5 | CC: | bugs, didi, lveyde, nsednev, rmartins, sbonazzo, stirabos |
Target Milestone: | --- | Flags: | rule-engine:
planning_ack?
rule-engine: devel_ack? rule-engine: testing_ack? |
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2016-01-19 15:14:19 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | Integration | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Nikolai Sednev
2016-01-18 15:14:32 UTC
(In reply to Nikolai Sednev from comment #0) > Expected results: > HEAP_MIN&HEAP_MAX of engine&DWH&reports should get changed automatically in > case of RAM increased/decreased, unless customer manually setting those > values, preferably via engine-setup itself, hence this requires from > engine-setup to expose those values for manual changes, which are currently > consealed. Some ideas/thoughts: 1. Perhaps do that during engine restart instead of engine-setup. 2. Provide means to users to prevent us from automatically changing. Probably including retroactively (users that manually set it already), not sure how. 3. Add vars ENGINE_HEAP_PERCENT_MIN and ENGINE_HEAP_PERCENT_MAX . Use -Xms = max(ENGINE_HEAP_MIN, ENGINE_HEAP_PERCENT_MIN*physmem/100), similarly for -Xmx. *** This bug has been marked as a duplicate of bug 1299526 *** |