users@glassfish.java.net

Re: Glassfish Web Services Slow to Crawl

From: Marek Potociar <marek.potociar_at_oracle.com>
Date: Thu, 21 Oct 2010 11:44:02 +0200

Have you tried to profile and measure where the time is actually being
spent? Is it possible that the bottleneck is actually your DB?

Marek



On 21.10.2010, at 3:41, glassfish_at_javadesktop.org wrote:

> Hi. We researched the forums and found nothing specific to our
> issue. We wrote some web services for Glassfish 2.1.1. We access a
> MySQL database through a connection pool setup in Glassfish. After a
> few thousand calls, the web services slow down by 500%. Even
> calling simple web services that do a simple SELECT will start to
> encounter the problem. We see RAM being consumed but no significant
> increase in threads or handles. We can't yet move to Glassfish
> 3.x. We read up on updating our Grizzly and we have assured we are
> closing our Statements and ResultSets. If we restart the domain we
> are back to fast and then the gradual decline. Any clues as to why
> this dramatic decrease in resources and performance? Thanks!
> [Message sent by forum member 'carlosr2']
>
> http://forums.java.net/jive/thread.jspa?messageID=485782
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>