java - Performance --- response time slows down -


We have a Java EE application (jsp / servlet, jdbc) running on the Apache-tomcat server. The response slows down over time.

The response time is back to normal after the server restart

I am connected to the server with Jujos and I can use the Hep Memory access screen Adding the shot, which grows while doing intense work and the garbage collector kicks from time to time and the memory usage comes down. However, even when the garbage collector is manually killed, the reaction time is not going down. I also checked the connection and they are shutting down properly. I mean any zcx use the heap memory

Any help is appreciated.

Attach to jvisualvm in JDK. This allows you to tomcat profile and realizes where the time goes.

My guess is the database connection right now. Either they become stale or the pool dries up.

Comments