tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kaleb Pederson <kpeder...@mail.ewu.edu>
Subject Re: Drops and Spikes in Tomcat responses
Date Wed, 06 Oct 2004 18:46:46 GMT
What suggestions do people have for a profiler or a profiler howto?  I would 
prefer something that allows me to simply turn on the Java profiling (-Xprof) 
that I can then analyze later, but will do whatever I need to resolve the 
problem.

Thanks for the help and suggestions.

--Kaleb

PS: Sorry if this message gets duped, I sent it out about 4 hours ago and I 
still haven't seen it come through.

On Tuesday 05 October 2004 4:56 pm, QM wrote:
> On Tue, Oct 05, 2004 at 02:03:48PM -0700, Kaleb Pederson wrote:
> : We are using a commerical servlet that seems to keep getting overloaded. 
> : We wrote a little script that monitors a number of things about the
> : process - the number of open file descriptors, sockets, java threads,
> : mysql connections, misc. hit types/second and memory sizes.  We turned on
> : -verbose:gc so that we could see the GC.  I then did a tail of the two
> : log files so that I could see the relationship between the two.
>
> Hello Kaleb,
>
> This sounds like an opportunity to break out with a profiler.  That will
> pinpoint exactly where methods are being held up, etc.  You've done some
> detective work that points to GC problems, and that may very well be it,
> but a profiler would help you hunt down specifically what's going on.
> For example, a profiler would tell you what count of a given object is
> on the heap at the time the app starts to crawl.
>
> There are several tunable params with a Java app -- heap size, thread
> stack size, OS-level properties -- but it's often best to start with a
> profiler.
>
> -QM

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message