Capture logs for memory issue

Problem

If FlexDeploy is responding very slow due to memory issues, provide following details to support team.

Solution

See details below on what is needed by support team.

  • ​Provide exact FlexDeploy version.

  • Indicate application server type - Tomcat or WebLogic.

  • Provide all server logs including flexdeploy, gc and out files.Go to Menu → Admin Operations

    Select Change Log Level Operation and Change Log Level to FINEST

    Select View and Download Logs Operation and Download Last 24 Hour Logs

    After Downloading, Make sure to Change Log Level to INFO

  • Provide output of following 3 commands.

ps -ef | grep java sar free -m
  • Generate heap dump - use command shown below.

jmap -dump:live,file=/var/tmp/heapdump <pid>
  • Provide three thread dumps at least 10 seconds apart (change # to 1, 2, 3 in command shown below)

jstack -l <pid> > /var/tmp/threaddump_#.txt

Support team will provide location where heap dump files can be uploaded.

Related articles

The following macros are not currently supported in the footer:
  • style