Thread dumps show what operations Stardog is performing at the time they're collected. They're very useful for troubleshooting a very slow or unresponsive server. Make sure to collect them while you're experiencing that slowness/unresponsiveness - if you collect it while the server is idle, it will contain no useful information.
There are two ways to collect a thread dump:
- Run
stardog-admin server metrics --threads "jvm.threads"
- Use
jstack
.- In your new terminal window, run
ps aux | grep stardog
to find Stardog's PID (process ID). - Collect the thread dump with
jstack -l <PID> > thread-dump.txt
, replacing "<PID>" with the process ID you found in the previous step.
- In your new terminal window, run
Once you've collected your thread dump, create a support ticket and attach the thread dump to it.
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article