tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anurag Kapur <>
Subject Re: App becomes sluggish - Tomcat 7.0.23
Date Thu, 12 Jul 2012 11:24:32 GMT
To little info to say something concrete, but maybe there is a memory leak
in your app which manifests over days and causes slowness.

Best way to prove - take some heapdumps of monitor the heap using tools
like JConsole / PSI Probe when your app becomes sluggish (before you
restart). Maybe there are long and frequent GC pauses which go in vain as
there is no memory to collect.

Also, take some thread dumps when this happens again to see what they are
actually waiting on.

You can post the info from heap monitoring and thread dumps here if you
need help analyzing them.

Hope this helps.
Anurag Kapur

Twitter: @anuragkapur <>

*Make a difference, donate for a wonderful cause..*
British 10k Page:

On Tue, Jul 10, 2012 at 6:45 PM, Sri Kon <> wrote:

> e) running on Tomcat 7.0.23. The symptom
> is that after running for few days (4 to 5 days typically) the response
> becomes very slow. The page that usually loads in 2 seconds takes anywhere
> from 30 to 50 seconds. A restart brings the response back to normal (2
> sec). I have taken thread dumps before and after. I see the thread in
> question (which is taking longer time to respond) has a lock. Here is the
> snippet.

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message