users@glassfish.java.net

Glassfish Slowing Down

From: Eric Chamberlain <echamberlain_at_ventripoint.com>
Date: Wed, 11 Jun 2008 15:54:03 -0700

> Greetings all.
>
> I am seeing a problem in which my Glassfish-hosted service slows down over time. Over
> a few weeks, it slows down to 10x its original response time. The Glassfish framework
> is used only to support this one service (which, conveniently, has but one external
> API). When I stop the Glassfish instance and re-start it, the response time immediately
> goes back to its expected (short) interval.
>
> We have conducted stress testing on the service code and there is no slow down
> detectable even when we simulate many weeks of use in a short time. We also could
> detect no bloat of the heap in our stress testing. BTW, the service does *not* access
> any databases.
>
> The next suspect is the Glassfish framework itself. How can I find out more information
> on when and if Glassfish is slowing down handling requests? Is there someway that I can
> post an automatic monitor which will help me track down changes in response times over a
> multi-week time frame and correlate them with memory usage?
>
> Another hypothesis is that we're losing information from dis-connection and
> re-connections that happen over time (and thus are not seen in a stress test because of
> the compressed time frame). Have there been any problems in this area found by others?
> I could find nothing myself.
>
> Thanks for the help!
>
> Eric Chamberlain
> VentriPoint, Inc. | www.ventripoint.com | Software Engineer
> Helping heart care through innovative diagnostic solutions
>