[jboss-user] [Installation, Configuration & DEPLOYMENT] - connection pool configuration ?

patzerbud do-not-reply at jboss.com
Fri Feb 29 13:24:00 EST 2008

I have a question regarding the interaction between <min-pool-size/> and <idle-timeout-minutes/> properties. 

The JBossJCAPooling documentation says: 

anonymous wrote : Should closing idle connections cause the pool to fall below the min-pool-size, new/fresh connections are created.

Doesn't this create unnecessary churning of connections (out w/ idle in w/ new)? 

Here's my situation: 

I have these properties set at 10 for min-pool-size and 2 for idle-timeout-minutes. On average, I see 15 connections from each app server to the db server. 

This is what I'm seeing on my app servers: all db connections seem to get closed within about 5 minutes. New connections are created, about 4 per minute.

If I understand properly the MRU strategy used by the connection pool manager, then I do not understand why I am seeing this behavior.

Any help/thoughts would be greatly appreciated!


Mike L. (aka patzerbud)

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4133327#4133327

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4133327

More information about the jboss-user mailing list