Uploaded image for project: 'Red Hat Process Automation Manager'
  1. Red Hat Process Automation Manager
  2. RHPAM-4770

RHPAM/BAMOE - update JVM scripts to be compliant with cgroups v2

XMLWordPrintable

    • 2023 Week 36-38 (from Sep 4)

      Starting on OCP 4.14, cgroups v2 will be the default
      The scripts used by the RHPAM/BAMOE images comes from the cct_module [1] and it needs to be updated to be compatible with v1 and v2 version of cgroups.

      It can be achieved by detecting the version it is current in use and correct the places that is to query the available memory, e.g. [2]

      Some important links:
      https://developers.redhat.com/articles/2023/03/07/overhauling-memory-tuning-openjdk-containers-updates
      https://developers.redhat.com/articles/2022/04/19/java-17-whats-new-openjdks-container-awareness
      https://issues.redhat.com/browse/LPINTEROP-3603

      [1] - https://github.com/jboss-openshift/cct_module/blob/0.39.x/jboss/container/java/jvm/bash/artifacts/opt/jboss/container/java/jvm/container-limits#L23
      [2] - https://issues.redhat.com/browse/SRVLOGIC-158

            rhn-support-fspolti Filippe Spolti
            rhn-support-fspolti Filippe Spolti
            Jakub Schwan Jakub Schwan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: