It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How do you analyze GC logs, thread dumps and head dumps?

Hi awesome community! 

In this article, I would like to describe the one of the toolset (service) for the analyze some problems on different Java-based instances, of course, as Atlassian administrator, first of all, it is Atlassian applications.

First, of the all, I want to say many thanks to the Atlassian Ecosystem developers for the providing Troubleshooting and Support tools. Because a lot of users can provide easy support.zip with thread dumps and GC logs if it is enabled (since 7.4 it is pre-populated in the configs). By the way, you can take a thread dump yourself using the jps ( or old way ps aux | grep java) and  jstack. I hope these useful articles will help you (1, 2, 3, 4, 5).

Well, let's back to our steps about GC, if you click and read the KB about GC logging then you will find already interesting tools GC viewer, Visual GC, but it will be good if we have the same thing in the online and with ML (Machine Learning).

Hence, you can use these online tools which will provide for you easily some view of your system and you can automate it by public REST API

* All 3 links work as one.

After uploading you will easier grouping and how threads changed in a different time period.

image.png 

 

For the GC logs, you can see like these parameters

image.png

 

And finally, I like to see a conclusion like this 

image.png 

This article is based on the many questions to me from an online community and AUG members, like how do you review GC logs in short time? 

Hope it helps and you will earn capacity for other awesome tasks.

 

P.S. I hope someone will provide more methods (in atlassian-python-api) for better automate process through support tools instead of bash scripts :)  I'll be happy.

P.S.S.  And we monitoring by prometheus and exporter more detail info you can read in article "Monitoring of Atlassian applications with Prometheus"

P.S.S. Also, you can do it by Zabbix, nagios through JMX.

 

Thanks for your attention.

 

Cheers,

Gonchik Tsymzhitov 

3 comments

Any similar tool for .Net/C# ?

Thanks.

That's what we already use.

I was hoping for some online windbg-like tool, able to load GB-class thread dumps :)

Comment

Log in or Sign up to comment
Community showcase
Published in Marketplace Apps & Integrations

Marketplace Spotlight: Manage your assets with asset management apps

  The role of IT professionals has become increasingly difficult over the last decade. Our organizations work in an increasingly software-powered world and IT professionals are expected to not...

372 views 3 9
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you