AppDynamics Application Intelligence Platform

3.9.x Documentation

PDFs

Learn by Watching

Doc Maps

Controller Troubleshooting Information Needed by the AppDynamics Support Team

If requested, collect the following files to send to the AppDynamics Support Team.

To get the heap and histogram dump files

It is recommended that you install JDK on your system before using the following commands.

  • Get the process id of the Controller to use in the subsequent commands.

    ps -ef | grep java
    
  • Get the heap dump before garbage collection using the following command:

    <java-jdk-install-dir>/bin/jmap -dump:format=b,file=heap_before_live.bin <Controller_pid>
    
  • Get the histogram before garbage collection using the following command:

    <java-jdk-install-dir>/bin/jmap -histo <Controller_pid> | head -200 > histo_before_live.txt
    
  • Get the histogram after garbage collection using the following command:

    <java-jdk-install-dir>/bin/jmap -histo:live <Controller_pid> | head -200 > histo_after_live.txt
    

2. Save the generated files:

  • heap_before_live.bin
  • histo_before_live.txt
  • histo_after_live.txt

To take four thread dumps at three second intervals

  • Using the Controller process ID, execute the following command:

    kill -3 <Controller_pid>
    
  • Save the <Controller_Installation_Directory>/appserver/glassfish/domains/domain1/logs/jvm.log file.

Provide the AppDynamics Support Team with the files

  • heap_before_live.bin
  • histo_before_live.txt
  • histo_after_live.txt
  • jvm.log