OPENSHIFT_GEAR_MEMORY_MB is not updated when memory limits are changed in resource_limits.conf
Issue
-
I have an existing OpenShift Enterprise environment. I updated resource_limits.conf on my nodes and and changed memory_limit_in_bytes to modify the memory allocation to the gear profile. I followed the documented steps to apply the changes in resource_limits.conf. The new memory limit seems to be correctly applied to all gears, but existing gears don't get their
OPENSHIFT_GEAR_MEMORY_MBenvironment variable updated: it still reflects the previous value. -
Unable to update OPENSHIFT_GEAR_MEMORY_MB value of existing apps.
- We are planning to upgrade the jvm heap ratio from 0.5 to 0.8 for tomcat and jboss cartridges. Can you please tell us know what are the exact parameters that we need to update on above listed files for the JVM_HEAP_RATIO .
Environment
OpenShift Enterprise (OSE) 2.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
