Hi Randhir,

Have you considered taking a thread dump of the JVM processes, I forget?

http://wiki.apache.org/tomcat/HowTo#How_do_I_obtain_a_thread_dump_of_my_running_webapp_.3F

If you take multiple thread dumps, say, 6, a minute apart, then you may
open these up in a thread dump analyzer such as TDA or Samurai and see what
threads are deadlocked, or how they are progressing etc.  Then restart
Tomcats to fix problem.  Then analyze the thread dumps post-restart.  I
find thread and heap dumps useful in addition to monitoring metrics.

Thanks,

                    -Shanti


On Tue, Apr 15, 2014 at 6:49 AM, Randhir Singh
<randhir.si...@sterlite.com>wrote:

> There is 1 finding. We normally monitor the tomcat port using jconsole as-
>
> jconsole 10.101.17.79:8891
>
> As per my initial query, our application hangs and we need to restart
> JBoss & Tomcat. I have observed that during this time the port 8891 does
> not respond as the command,
>
> jconsole 10.101.17.79:8891
>
> does not give any console for monitoring.
>
> Requesting an update so that the root cause analysis of this issue can be
> found out.
>
> Regards
>
> -----Original Message-----
> From: Shanti Suresh [mailto:sha...@umich.edu]
> Sent: Saturday, April 12, 2014 1:12 AM
> To: Tomcat Users List
> Subject: Re: How to monitor performance of tomcat
>
> On Fri, Apr 11, 2014 at 3:04 PM, André Warnier <a...@ice-sa.com> wrote:
>
> > Shanti Suresh wrote:
> >
> >> Hi Chris,
> >>
> >> On Fri, Apr 11, 2014 at 12:17 PM, Christopher Schultz <
> >> ch...@christopherschultz.net> wrote:
> >>
> >>  -----BEGIN PGP SIGNED MESSAGE-----
> >>> Hash: SHA256
> >>>
> >>> Shanti,
> >>>
> >>> On 4/11/14, 9:01 AM, Shanti Suresh wrote:
> >>>
> >>>> Thank you!  Great presentation and most wonderful notes!  One
> >>>> question - on slide #48, where the notes say, "You can see here
> >>>> that the current usage is about 100MiB, less than the 115MiB
> >>>> threshold we set", where is the 100MB or thereabouts shown?  Is it
> >>>> the committed value?  I don't follow that statement.
> >>>>
> >>> The statement refers to the "used" value.
> >>>
> >>> - -chris
> >>>
> >>> Thank you!  I got it.
> >>>
> >>
> >> The "used" value says "used 114510568".  I was looking for a value
> >> closer to 100MiB.
> >>
> >
> >   114510568  (~ 109 MB)
> > - 104857600    (100 MB)
> > ===========
> >     9652968   (~  9 MB)
> >
> > How much closer were you looking for ?
>
>
> Well, I don't know, maybe 1 or 2 MiB over?  The threshold is 115 MiB, so
> if the notes had said "the current usage is less than the 115MiB threshold
> we set", I might not have had any doubt.
>
>
> >
> >
> >> So in the slide, you were making a point of the current usage being
> >> less than the threshold, basically, if I am not mistaken.
> >>
> >> Thanks,
> >>
> >>                   -Shanti
> >>
> >>
> >
> Thanks,
>
>                   -Shanti
>
> --
>
> *STL Disclaimer:*
> The content of this message may be legally privileged and confidential and
> are for the use of the intended recipient(s) only. It should not be read,
> copied and used by anyone other than the intended recipient(s). If you have
> received this message in error, please immediately notify the sender,
> preserve its confidentiality and delete it. Before opening any attachments
> please check them for viruses and defects. No employee or agent is
> authorised to conclude any binding agreement on behalf of Sterlite
> Technologies Limited with another party by email without express written
> confirmation by authorised person. Visit us at
> www.sterlitetechnologies.com
>  Please consider environment before printing this email !
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>
>

Reply via email to