Uploaded image for project: 'RH-SSO'
  1. RH-SSO
  2. RHSSO-2239

(Regression) OCP/RH-SSO props-ng package missing from OCP/RH-SSO 7.6 image

XMLWordPrintable

      1. Issue description

      Procps-ng package is no longer part of RH-SSO image distribution since OCP/RH-SSO 7.5-26.

      Procps-ng is the package which allows to run run command such as top and ps.

       

      2. Consequence

      It is no longer possible to run following command to capture identify high thread cpu on OpenShift and corrolate it with jstack snapshots.

      Hence it is no longer possible to correlate high consuming cpu thread snapshots with jstack snapshots.

       POD=<pod-name> ; PID=$(oc exec $POD jps | grep -iv jps | awk '{print $1}'); oc exec $POD – bash -c "for x in {1..6}; do jstack -l $PID >> /opt/eap/standalone/tmp/high-cpu-tdump.out; top -b -n 1 -H -p $PID >> /opt/eap/standalone/tmp/high-cpu.out; sleep 20; done"; oc rsync $POD:/opt/eap/standalone/tmp/high-cpu.out . ; oc rsync $POD:/opt/eap/standalone/tmp/high-cpu-tdump.out

       

      Note:

      This command is described in KCS article

      https://access.redhat.com/articles/5865191#how-to-identify-high-cpu-utilization-by-java-threads-on-ocp-4-6

       

      It is also not possible to use the solution described in KCS https://access.redhat.com/solutions/6958299, as jstack command will not available through Ephemeral Containers.

       

       

       

       

       

       

              rhn-jlieskov Ján Lieskovský (Inactive)
              rhn-support-orivat Olivier Rivat
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: