Bug 2215110
| Summary: | [RFE] Add a flag to set the heap size (Xms and Xmx) for tomcat. At this moment, there is an option only for puppetserver | ||
|---|---|---|---|
| Product: | Red Hat Satellite | Reporter: | Waldirio M Pinheiro <wpinheir> |
| Component: | Installer | Assignee: | satellite6-bugs <satellite6-bugs> |
| Status: | NEW --- | QA Contact: | Satellite QE Team <sat-qe-bz-list> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 6.14.0 | CC: | egolov, ehelms |
| Target Milestone: | Unspecified | Keywords: | FutureFeature |
| Target Release: | Unused | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | Type: | Bug | |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Waldirio M Pinheiro
2023-06-14 18:27:30 UTC
Can you expand on why you need this? What issues are being run into, and/or what scenarios lead to needing to modify this value? Hello, Sure, eventually, we have customers with a huge number of content hosts that will cause a huge # of calls to candlepin, when doing operations related to subscriptions. That said, the standard of 2GiB it's not enough and as consequence, CP just died with "out of memory". In order to fix that, we bump the "heap size" used by the java vm. Below, we can see an entry from custom-hiera --- ... candlepin::java_opts: "-Xms1024m -Xmx8192m" ... --- This will change from 2G to 8G, avoiding the issue mentioned above. At this moment, there is no flag to change this configuration via satellite-installer, only via custom-hiera as presented above. Thank you! Please, let me know if you have additional questions or concerns. Waldirio |