Hi,
  There is no difference in the outcome when I use "com.mysql.jdbc.Driver"

   max_connections=200 is still same in MySQL. I confirmed that MySQL is
able to handle that much load by running JMeter load testing which causes my
application to create even 95 connection if I set "maxActive" connections in
my pool  = 95. BUt problem is that with each HTTP request from JMeter, if
pool is creating new connection to MySQL as only 8-9 connections are
available in pool. And pool drops connection immediately after serving that
request.
  I hope that I have told you that, pool attempts to create "initialSize"
number of connections to the MySQL server. But it also drops it off
immediately in a second or two, leaving behind only 8-9 pooled connection.



Christopher Schultz-2 wrote:
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Yagnesh,
> 
> On 11/17/2009 10:51 AM, Yagnesh Chawda wrote:
>>   Thanks for reply. I had tried using "com.mysql.jdbc.Driver" as well
>> earlier. But no luck :(
> 
> What does happen when you use com.mysql.jdbc.Driver?
> 
> What are the current values for max_connections and max_user_connections
> in MySQL? I know you said you set max_connections=200 but I just wanted
> to make sure that MySQL actually has that setting while it's running.
> 
> - -chris
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.10 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
> 
> iEYEARECAAYFAksDG/IACgkQ9CaO5/Lv0PBc0wCgq7YxJdaIHiCbiKUTwngX99QI
> gqoAoL9T9Yw4WR4NXF8gDbC/F6KyDZ1F
> =YvGV
> -----END PGP SIGNATURE-----
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
> 
> 
> 

-- 
View this message in context: 
http://old.nabble.com/Tomcat-DBCP-Connection-Pooling-to-MySQL-limited-number-of-connection-issue-in-Spring2.5-%2B-Hibernate3-%2B-commons-DBCP1.2-tp26372475p26402989.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to