Julien Nioche created STORM-2502:
------------------------------------

             Summary: Use PID in file name for heap dumps
                 Key: STORM-2502
                 URL: https://issues.apache.org/jira/browse/STORM-2502
             Project: Apache Storm
          Issue Type: Improvement
    Affects Versions: 1.1.0
            Reporter: Julien Nioche
            Priority: Minor


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?



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to