Chandan Pratihast
asked on
dbcp2 getCinnection wait
Hi
We are using dbcp2.x as connection pool library. Have set the property of maxActive as 100. When we run 20 threads in parallel, 2 threads keep waiting for connection and never gets it!!
Is this kind of issues already known as bug in dbcp2?
Kindly share if you have come across with similar issue.
Thanks.
We are using dbcp2.x as connection pool library. Have set the property of maxActive as 100. When we run 20 threads in parallel, 2 threads keep waiting for connection and never gets it!!
Is this kind of issues already known as bug in dbcp2?
Kindly share if you have come across with similar issue.
Thanks.
How do you know that 2 threads are waiting for connections?
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
ASKER
Increasing the initial size worked