Re: Need to know about analyzing of thread dump and heap dump

2023-04-05 Thread Suvendu Sekhar Mondal
On Tue, Apr 4, 2023, 5:08 PM  wrote:

>
>
>
> > -Original Message-
> > From: Suvendu Sekhar Mondal 
> > Sent: Tuesday, April 04, 2023 1:54 AM
> > To: Tomcat Users List 
> > Subject: Re: Need to know about analyzing of thread dump and heap dump
> >
> > Hi Koustav,
> >
> > On Tue, Apr 4, 2023, 1:28 AM Naha, Koustav 
> > wrote:
> >
> > > Hi all,
> > >
> > > Good day.
> > >
> > > Can someone suggest me some good tools to analyze heap dump and
> > thread
> > > dumps which we can use in real time production environment.
> > > Also, GUI based tools will be a good one to use.
> > >
> >
> > Pease don't use any online third party tool to analyze heap dumps.
> Because a
> > memory snapshot contains all the details including your secrets :).
> IMHO, it's
> > better to use offline tools like Eclipse MAT, IBM's heap dump analyzer
> for
> > heap dump analysis.
> >
> > For thread dumps analysis, in most cases I found that multiple thread
> dumps
> > are required to identify slowness or establish a pattern. I haven't came
> across
> > any thread dumps analyzer which takes multiple thread dumps as input.
> > That's why I always go back to IBM thread dumps analyzer.
> >
> > Both of these are free to download.
> >
> >
> >
> > > Please pour in your 2 cents.
> > >
> > > Thanks and Regards,
> > > Koustav Naha
> > >
> > >
> > > DXC Technology Company -- This message is transmitted to you by or on
> > > behalf of DXC Technology Company or one of its affiliates. It is
> > > intended exclusively for the addressee. The substance of this message,
> > > along with any attachments, may contain proprietary, confidential or
> > > privileged information or information that is otherwise legally exempt
> > > from disclosure. Any unauthorized review, use, disclosure or
> > > distribution is prohibited. If you are not the intended recipient of
> > > this message, you are not authorized to read, print, retain, copy or
> > > disseminate any part of this message. If you have received this
> > > message in error, please destroy and delete all copies and notify the
> > > sender by return e-mail. Regardless of content, this e-mail shall not
> > > operate to bind DXC Technology Company or any of its affiliates to any
> > > order or other contract unless pursuant to explicit written agreement
> > > or government initiative expressly permitting the use of e-mail for
> such
> > purpose.
> > >
>
>
> FastThread analyzes more than one dump and compares them.
>

Thanks, John! Need to try it out.

>
> -
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>


RE: Need to know about analyzing of thread dump and heap dump

2023-04-04 Thread John.E.Gregg



> -Original Message-
> From: Suvendu Sekhar Mondal 
> Sent: Tuesday, April 04, 2023 1:54 AM
> To: Tomcat Users List 
> Subject: Re: Need to know about analyzing of thread dump and heap dump
> 
> Hi Koustav,
> 
> On Tue, Apr 4, 2023, 1:28 AM Naha, Koustav 
> wrote:
> 
> > Hi all,
> >
> > Good day.
> >
> > Can someone suggest me some good tools to analyze heap dump and
> thread
> > dumps which we can use in real time production environment.
> > Also, GUI based tools will be a good one to use.
> >
> 
> Pease don't use any online third party tool to analyze heap dumps. Because a
> memory snapshot contains all the details including your secrets :). IMHO, it's
> better to use offline tools like Eclipse MAT, IBM's heap dump analyzer for
> heap dump analysis.
> 
> For thread dumps analysis, in most cases I found that multiple thread dumps
> are required to identify slowness or establish a pattern. I haven't came 
> across
> any thread dumps analyzer which takes multiple thread dumps as input.
> That's why I always go back to IBM thread dumps analyzer.
> 
> Both of these are free to download.
> 
> 
> 
> > Please pour in your 2 cents.
> >
> > Thanks and Regards,
> > Koustav Naha
> >
> >
> > DXC Technology Company -- This message is transmitted to you by or on
> > behalf of DXC Technology Company or one of its affiliates. It is
> > intended exclusively for the addressee. The substance of this message,
> > along with any attachments, may contain proprietary, confidential or
> > privileged information or information that is otherwise legally exempt
> > from disclosure. Any unauthorized review, use, disclosure or
> > distribution is prohibited. If you are not the intended recipient of
> > this message, you are not authorized to read, print, retain, copy or
> > disseminate any part of this message. If you have received this
> > message in error, please destroy and delete all copies and notify the
> > sender by return e-mail. Regardless of content, this e-mail shall not
> > operate to bind DXC Technology Company or any of its affiliates to any
> > order or other contract unless pursuant to explicit written agreement
> > or government initiative expressly permitting the use of e-mail for such
> purpose.
> >


FastThread analyzes more than one dump and compares them.

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: Need to know about analyzing of thread dump and heap dump

2023-04-04 Thread Suvendu Sekhar Mondal
Hi Koustav,

On Tue, Apr 4, 2023, 1:28 AM Naha, Koustav  wrote:

> Hi all,
>
> Good day.
>
> Can someone suggest me some good tools to analyze heap dump and thread
> dumps which we can use in real time production environment.
> Also, GUI based tools will be a good one to use.
>

Pease don't use any online third party tool to analyze heap dumps. Because
a memory snapshot contains all the details including your secrets :). IMHO,
it's better to use offline tools like Eclipse MAT, IBM's heap dump analyzer
for heap dump analysis.

For thread dumps analysis, in most cases I found that multiple thread dumps
are required to identify slowness or establish a pattern. I haven't came
across any thread dumps analyzer which takes multiple thread dumps as
input. That's why I always go back to IBM thread dumps analyzer.

Both of these are free to download.



> Please pour in your 2 cents.
>
> Thanks and Regards,
> Koustav Naha
>
>
> DXC Technology Company -- This message is transmitted to you by or on
> behalf of DXC Technology Company or one of its affiliates. It is intended
> exclusively for the addressee. The substance of this message, along with
> any attachments, may contain proprietary, confidential or privileged
> information or information that is otherwise legally exempt from
> disclosure. Any unauthorized review, use, disclosure or distribution is
> prohibited. If you are not the intended recipient of this message, you are
> not authorized to read, print, retain, copy or disseminate any part of this
> message. If you have received this message in error, please destroy and
> delete all copies and notify the sender by return e-mail. Regardless of
> content, this e-mail shall not operate to bind DXC Technology Company or
> any of its affiliates to any order or other contract unless pursuant to
> explicit written agreement or government initiative expressly permitting
> the use of e-mail for such purpose.
>


RE: Need to know about analyzing of thread dump and heap dump

2023-04-03 Thread Jason Tan
Hi Koustav,
I was testing out the online thread dump analysers previously and found 
https://fastthread.io/ and https://jstack.review/#tda_1_dump. I am not sure how 
safe their data policy are, but I didn't spot any sensitive data in my thread 
dump. Note: one of them hid part of the result as it was just a trial run. I 
can't remember which.
Surprisingly, both analysers pointed to the same area for possible root cause. 
I didn't go any further but our developers analysed the thread dump and also 
mentioned the same area. They went one better and provided info on the related 
java defect and provided a workaround. Problem solved, customer happy and I'm 
happy.
-Original Message-
From: Naha, Koustav  
Sent: Tuesday, April 4, 2023 5:58 AM
To: users@tomcat.apache.org
Subject: Need to know about analyzing of thread dump and heap dump

Hi all,

Good day.

Can someone suggest me some good tools to analyze heap dump and thread dumps 
which we can use in real time production environment.
Also, GUI based tools will be a good one to use.

Please pour in your 2 cents.

Thanks and Regards,
Koustav Naha


DXC Technology Company -- This message is transmitted to you by or on behalf of 
DXC Technology Company or one of its affiliates. It is intended exclusively for 
the addressee. The substance of this message, along with any attachments, may 
contain proprietary, confidential or privileged information or information that 
is otherwise legally exempt from disclosure. Any unauthorized review, use, 
disclosure or distribution is prohibited. If you are not the intended recipient 
of this message, you are not authorized to read, print, retain, copy or 
disseminate any part of this message. If you have received this message in 
error, please destroy and delete all copies and notify the sender by return 
e-mail. Regardless of content, this e-mail shall not operate to bind DXC 
Technology Company or any of its affiliates to any order or other contract 
unless pursuant to explicit written agreement or government initiative 
expressly permitting the use of e-mail for such purpose.

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



AW: Need to know about analyzing of thread dump and heap dump

2023-04-03 Thread Thomas Hoffmann (Speed4Trade GmbH)
Hello,

> -Ursprüngliche Nachricht-
> Von: Naha, Koustav 
> Gesendet: Montag, 3. April 2023 21:58
> An: users@tomcat.apache.org
> Betreff: Need to know about analyzing of thread dump and heap dump
> 
> Hi all,
> 
> Good day.
> 
> Can someone suggest me some good tools to analyze heap dump and thread
> dumps which we can use in real time production environment.
> Also, GUI based tools will be a good one to use.
> 
> Please pour in your 2 cents.
> 
> Thanks and Regards,
> Koustav Naha
> 
> 

I often use Eclipse Memory Analyzer for heap dumps and Samurai for thread dumps 
(https://samuraism.jp/samurai/en/index.html)

Greetings,
Thomas

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: Need to know about analyzing of thread dump and heap dump

2023-04-03 Thread Kevin Huntly
i use ibm's support assistant with their plugins. works pretty well, and I
believe there's a standalone version... i cant find them at the moment, but
I know they're out there.


Kevin Huntly
Email: kmhun...@gmail.com
Cell: 716/424-3311


-BEGIN GEEK CODE BLOCK-
Version: 1.0
GCS/IT d+ s a C++ UL+++$ P+(++) L+++ E---
W+++ N+ o K(+) w--- O- M-- V-- PS+ PE Y(+)
PGP++(+++) t+ 5-- X-- R+ tv+ b++  DI++ D++
G++ e(+) h--- r+++ y+++*
--END GEEK CODE BLOCK--


On Mon, Apr 3, 2023 at 3:59 PM Naha, Koustav  wrote:

> Hi all,
>
> Good day.
>
> Can someone suggest me some good tools to analyze heap dump and thread
> dumps which we can use in real time production environment.
> Also, GUI based tools will be a good one to use.
>
> Please pour in your 2 cents.
>
> Thanks and Regards,
> Koustav Naha
>
>
> DXC Technology Company -- This message is transmitted to you by or on
> behalf of DXC Technology Company or one of its affiliates. It is intended
> exclusively for the addressee. The substance of this message, along with
> any attachments, may contain proprietary, confidential or privileged
> information or information that is otherwise legally exempt from
> disclosure. Any unauthorized review, use, disclosure or distribution is
> prohibited. If you are not the intended recipient of this message, you are
> not authorized to read, print, retain, copy or disseminate any part of this
> message. If you have received this message in error, please destroy and
> delete all copies and notify the sender by return e-mail. Regardless of
> content, this e-mail shall not operate to bind DXC Technology Company or
> any of its affiliates to any order or other contract unless pursuant to
> explicit written agreement or government initiative expressly permitting
> the use of e-mail for such purpose.
>


Need to know about analyzing of thread dump and heap dump

2023-04-03 Thread Naha, Koustav
Hi all,

Good day.

Can someone suggest me some good tools to analyze heap dump and thread dumps 
which we can use in real time production environment.
Also, GUI based tools will be a good one to use.

Please pour in your 2 cents.

Thanks and Regards,
Koustav Naha


DXC Technology Company -- This message is transmitted to you by or on behalf of 
DXC Technology Company or one of its affiliates. It is intended exclusively for 
the addressee. The substance of this message, along with any attachments, may 
contain proprietary, confidential or privileged information or information that 
is otherwise legally exempt from disclosure. Any unauthorized review, use, 
disclosure or distribution is prohibited. If you are not the intended recipient 
of this message, you are not authorized to read, print, retain, copy or 
disseminate any part of this message. If you have received this message in 
error, please destroy and delete all copies and notify the sender by return 
e-mail. Regardless of content, this e-mail shall not operate to bind DXC 
Technology Company or any of its affiliates to any order or other contract 
unless pursuant to explicit written agreement or government initiative 
expressly permitting the use of e-mail for such purpose.