Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Complete thread dumps in Karaf

Tags:

apache-karaf

When I use dev:create-dump, the thread stacks in the dump are incomplete. Is it possible to configure Karaf to:

  1. dump full stacks?
  2. detect deadlocks?
like image 284
Alexey Romanov Avatar asked Oct 23 '25 18:10

Alexey Romanov


1 Answers

dev:create-dump : Creates an archive with info

What you actually need is:

dev:dump-create

This will create a file in $KARAF_HOME/

The file name in my case is like 2015-04-13_140239.zip

http://karaf.apache.org/manual/latest/developers-guide/developer-commands.html

The zip file contains all what you require, and more than that:

bundles.txt
environment.txt
features.txt
memory.txt
threads.txt
like image 81
RRM Avatar answered Oct 27 '25 05:10

RRM



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!