I tried with dbcp1.2.2 today and found same issue. With maxActive=30, maxIdle=30 and minIdle=30, connecitons went upto 120. And it didn't comeback after 3-4 hrs.
After changing minIdle=0, number of connections were stayed at 30. Is it a issue related to common pool (I am using common pool 1.3)? Bhaskar > -----Original Message----- > From: Konstantin Kolinko [mailto:[EMAIL PROTECTED] > Sent: Tuesday, October 16, 2007 8:57 PM > To: Tomcat Users List > Subject: Re: More number of connections got created than maxActive > > Isn't it http://issues.apache.org/jira/browse/DBCP-28 ? > "Connection leak ..." > > It was fixed in DBCP 1.2.2. > > You may want to read through the Release History of DBCP for > other bugs that have been already found and fixed, > http://commons.apache.org/dbcp/changes-report.html > > > ------------------------------------- > 2007/10/16, Bhaskar <[EMAIL PROTECTED]>: > > I found that issue is around minIdle settings. > > > > When I had following settings: > > maxActive = 50 > > maxIdle = 30 > > minIdle=30 > > factory=org.apache.commons.dbcp.BasicDataSourceFactory > > maxWait=10000 > > timeBetweenEvictionRunsMillis=900000 > > numTestsPerEvictionRun=50 > > minEvictableIdleTimeMillis=1800000 > > testWhileIdle=true > > testOnBorrow = true > > validationQuery='select 1 from dual' > > > > > > Number of connections in the pool went upto 121. > > > > When I changed minIdle to 15 and did my load test > connecitons in the > > pool went upto 66 > > > > Looks like maxActive is getting bypassed with minIdle. > > > > When I changed minIdle to 10 and did my load test > connections in the > > pool went upto 24 > > > > Can someone please throw light on what is going on here? I am using > > DBCP > > 1.2.1 > > > > Bhaskar > > --------------------------------------------------------------------- > To start a new topic, e-mail: users@tomcat.apache.org To > unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]