Uploaded image for project: 'Managed Service - Streams'
  1. Managed Service - Streams
  2. MGDSTRM-8354

Java heap dump SOP fails against kafka pods

XMLWordPrintable

    • MK - Sprint 225

      Problem Statement

      During an incident, we tried to use the following SOP to collect a Java heap dump from a Kafka pod.  

      https://github.com/bf2fc6cc711aee1a0c2a/kas-sre-sops/blob/main/sops/troubleshooting/java_heapdump.asciidoc

       

      The SOP failed in two ways:

      1. The SOP assumes the availability of the ps command.  The ps command isn't available in the image.  The jps command is available.
      2. The SOP assumes /tmp is sufficiently large to take a Java Heap Dump.  In the case of a Kafka heap dump, this wasn't the case.

      What

      Address the defects in the SOP ensuring that the SOP is compatible with all the Java images used by Managed Kafka.   Automated mechanisms to make sure this doesn't regress would be desirable too.

      How

      TBD

            rh-ee-aabdelre Ahmed Abdalla Abdelrehim
            keithbwall Keith Wall
            Kafka Integrations
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: