users@glassfish.java.net

Re: Connection pool keep-alive flooding database?

From: Guillaume Bilodeau <gbilodeau_at_yahoo.com>
Date: Fri, 19 Jan 2007 01:05:36 -0800 (PST)

I just got some statistics showing that connection validation isn't sending
too many requests to the database - not more than 3000 for a 15-minute
period, which seems reasonable considering the load at the time.

Once again, thanks for your help guys, I'll investigate some other areas!

GB


Guillaume Bilodeau wrote:
>
> Hi guys,
>
> We are investigating (aside from the odd app server crash...) a huge
> performance problem in our production application. The bottleneck seems
> to be the database server, with its 4 CPUs constantly running at 100%.
> After running several statspack reports, we have discovered that over a
> period of 15 minutes with around 30 open sessions, a total of ~480,000
> SQL*Net messages are exchanged between the app server and the database.
>
> How is this related to Glassfish? We have configured the Connection Pool
> (which uses the oracle.jdbc.pool.OracleDataSource driver) to use
> Connection Validation using the table method. My question is: using these
> settings, could Glassfish be pinging the database so often?
>
> Thanks a lot for your insight,
> GB
>
>

-- 
View this message in context: http://www.nabble.com/Connection-pool-keep-alive-flooding-database--tf3033439.html#a8446042
Sent from the java.net - glassfish users mailing list archive at Nabble.com.