This server will be upgraded at 3pm Sydney time on December 3rd (December 2nd, 8pm PST) and will be down for up to 30 minutes.
This documentation relates to an early version of Confluence.
View this page in the current documentation or visit the current documentation home.

Logging A Thread Dump

All Versions
Click for all versions
Confluence 2.0 to 2.5 Documentation

Index

If Confluence stops responding, or is performing poorly, you should create a thread dump to help Atlassian determine the cause of the problem.

This will show the state of each thread in the JVM, including a stack trace and information about what locks that thread is holding and waiting for. 

Windows Users

To take a thread dump from Windows:

  1. Visit http://www.adaptj.com/root/main/download and click Launch
  2. Click Run for any security warnings
  3. Select Process -> Thread Dump
  4. Under Process Id, select the '...' button.
  5. From the drop-down list, select the Confluence process. Users running Confluence Standalone, select the 'Java (Tomcat) ...' option. Users running Confluence WAR should select their application server process.
  6. Click OK to capture the thread dump.
  7. Save the output to a file, eg 'threaddump.log'
  8. If you were asked by Atlassian technical support to create the thread dump, attach the logfile to the support ticket.

Linux (and Solaris and other Unices) Users

Find the process id of the JVM and issue the command:

Use the ps command to get list of all processes.

kill -3 <pid>

The thread dump will be printed to the java standard output. This means that for Confluence this should be captured in the log files.

Thread Dump Analyzer TDA

A free handy thread dump analyzer TDA 1.0 Final can be obtained from the java.net

Putting the 'hat' on ...

HAT lets look at the HeapDump

IBM Thread Dumps

Deciphering javacore thread dumps:

Labels

analyzer analyzer Delete
dump dump Delete
thread thread Delete
tda tda Delete
memory memory Delete
trace trace Delete
stack stack Delete
frozen frozen Delete
help help Delete
respond respond Delete
unresponsive unresponsive Delete
pause pause Delete
freeze freeze Delete
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.