Uploaded image for project: 'Red Hat Internal Developer Platform'
  1. Red Hat Internal Developer Platform
  2. RHIDP-9702

Collect heapdumps of RHDH to help troubleshoot potential app memory leaks

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Normal Normal
    • 1.9.0
    • None
    • Support
    • None
    • RHDH Install 3283

      As part of a discussion with Support, who were investigating a potential application memory leak reported by a customer, we thought it might help if this must-gather tool could take heap dumps and return them in the output. It might also be helpful for the Performance team.

      This should be opt-in, as heap dump generation might take some time and slow down the application or even increase the overall memory usage of the running app.

      Acceptance Criteria

      • Add a new optional `--with-heap-dumps` option
      • Investigate ways to take a heap dump of the running Node process. This might not be possible out of the box if the Node process is not instrumented. Might require starting the container with some advanced options. Document this if needed
      • Update the documentation accordingly
      • For now, this only targets the RHDH application (Node process). The Operator pod (Go binary) can be investigated later on.

              rh-ee-asoro Armel Soro
              rh-ee-asoro Armel Soro
              RHIDP - Install
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: