Uploaded image for project: 'Apache Storm'
  1. Apache Storm
  2. STORM-2502

Use PID in file name for heap dumps

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 1.1.0
    • None
    • None

    Description

      The default JVM options for the workers specify the path to use for the heap dumps, see
      https://github.com/apache/storm/blob/1.x-branch/conf/defaults.yaml#L171, however when a memory error happens more than once for the same worker, only the first dump is kept as the file can't be overridden. Instead, would it make sense to use something like
      "-XX:HeapDumpPath=artifacts/heapdump<pid>.hprof"_ so that a different dump is generated for each JVM instance? Or is the current pattern used on purpose to avoid too much disk space being used?

      Attachments

        Activity

          People

            Unassigned Unassigned
            jnioche Julien Nioche
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: