Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Create the following run run-script jstack-series.sh

    Code Block
    languagebash
    #!/bin/bash
    if [ $# -eq 0 ]; then
        echo >&2 "Usage: jstackSeries [ <count> [ <delay> ] ]"
        echo >&2 "    Defaults: count = 10, delay = 0.5 (seconds)"
        exit 1
    fi
    count=${1:-20}  # defaults to 10 times
    delay=${2:-0.5} # defaults to 0.5 seconds
    while [ $count -gt 0 ]
    do
        ./jattach 1 threaddump>jstack.$pid.$(date +%H%M%S.%N)
        sleep $delay
        let count--
        echo -n "."
    done
  2. Run the following inside your Docker container:

    Code Block
    languagebash
    curl -L https://github.com/apangin/jattach/releases/download/v1v2.50/jattach > jattach && \
    chmod +x jattach
  3. Run the created script: ./jstack-series.sh

  4. This will result in 20 files (filename: 'jstack.<pid>.<date>.N') being generated

  5. Please pack these 20 files in a zip file and attach them to your HiveMQ Support issue

...