[jboss-user] [Datasource Configuration] - When does JBoss shrink a connection pool?

Glauber Ribeiro do-not-reply at jboss.com
Mon Nov 8 04:54:06 EST 2010


Glauber Ribeiro [http://community.jboss.org/people/theglauber] created the discussion

"When does JBoss shrink a connection pool?"

To view the discussion, visit: http://community.jboss.org/message/569900#569900

--------------------------------------------------------------
I'm using JBoss 4.3
Say i have a data source defined like this:

     <min-pool-size>5</min-pool-size>
     <max-pool-size>25</max-pool-size>
     <validate-on-match>false</validate-on-match>
     <background-validation>true</background-validation>
     <idle-timeout-minutes>5</idle-timeout-minutes>
     <background-validation-minutes>1</background-validation-minutes>
  <prefill>true</prefill>
 
    <min-pool-size>5</min-pool-size>
    <max-pool-size>25</max-pool-size>
    <prefill>true</prefill>


I see JBoss grab 5 connections when it starts, and grow to 25 as needed. But i'm not seeing it reliably shrink down back to 5. Is it supposed to? What triggers the shrinkage?

Thanks,

glauber
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/569900#569900]

Start a new discussion in Datasource Configuration at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2077]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20101108/78e56a00/attachment.html 


More information about the jboss-user mailing list