Versions Compared

Key

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

When troubleshooting various problems on the Content Gateway one might need to capture a Java thread dump. This KB article explains how to do that using jstack. If you do not have jstack installed, then you should be able to install it on CentOS 7 via the epel repo with: yum install java-latest-openjdk-devel -y

Instructions

  1. Find out the PID of the Content Gateway process by running this command

    Code Block
    ps aux | grep [c]loudgateway.pid | awk '{ print $2 }'
  2. Capture the thread dump using jstack by running this command using the PID determined at step 1

    Code Block
    jstack PID > thread_dump.out
  3. If the above command does not capture anything, try running this:

    Code Block
    jstack -F PID > thread_dump.out

 

Info

Filter by label (Content by label)
showLabelsfalse
max5
spacescom.atlassian.confluence.content.render.xhtml.model.resource.identifiers.SpaceResourceIdentifier@957
showSpacefalse
sortmodified
showSpacetypefalsepage
reversetrue
typelabelspagejstack contentgateway
cqllabel in ( "contentgateway" , "jstack" ) and type = "page" and space = "KB"labelsjstack contentgateway
Page Properties
hiddentrue

Related issues