Description of problem: Add a flag to set the heap size (Xms and Xmx) for tomcat. At this moment, there is an option only for puppetserver Version-Release number of selected component (if applicable): all of them How reproducible: 100% Steps to Reproduce: 1. install satellite, the default Xmx and Xms is 2GiB 2. If you need to change the heap size for tomcat, you need to add it via custom-hiera 3. Actual results: Only via custom hiera Expected results: Flag via satellite-installer that will set the heap size for tomcat Additional info:
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