![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi, I'm using DBCP for JNDI-accessed connection pooling with mySQL and Connector/J in a Tomcat 5-based application. Can anyone tell me where I can find recommendations/guidelines for choosing values for the DBCP parameters -- such as maxActive, maxIdle, maxWait, etc. -- in the ResourceParams element of server.xml? For example, I am about to launch a system that has a user base of approx 7000 users, which I expect will be thrashed hard at launch time and then settle down to an average of 10 to 100 users at any given time. But what are the best values to specify for my database pooling parameters? We're using a DBCP snapshot from 2002 that was actually distributed |
#3
| |||
| |||
|
|
Hi Kevin, Thanks very much for your response. It's really appreciated. So I'll set maxActive to 200. What are your maxIdle and maxWait values set to? Or aren't they that important? Did I say 200? We're using 20 ... which I still think might be too |
|
What would you recommend as an alternative to DBCP for pooling? For example, how could I get a copy of the 2002 snapshot that you refer to? Or is there is something else you'd recommend? The 2002 snapshot also has a similar bug but is much more reliable. I |

![]() |
| Thread Tools | |
| Display Modes | |
| |